Subject: [Boost-bugs] [Boost C++ Libraries] #6093: [1/3]second fails as valid duration input
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-03 22:57:13
#6093: [1/3]second fails as valid duration input
------------------------------+---------------------------------------------
Reporter: viboes | Owner: viboes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: chrono
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
[1/3]second
makes the code
seconds d;
cin >> d
fail at run-time because the singular form is not associated to the
keywords for the form [N/D].
The correction is easy. Just to add a line to the scanned units the
singular form in addition to the plural and the symbol.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6093> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC