Boost C++ Libraries: Ticket #6093: [1/3]second fails as valid duration input https://svn.boost.org/trac10/ticket/6093 <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/1/3" title="Import core sources for SVNmanger 0.38 ">[1/3]</a>second </p> <p> makes the code </p> <p> seconds d; cin &gt;&gt; d </p> <p> fail at run-time because the singular form is not associated to the keywords for the form [N/D]. </p> <p> The correction is easy. Just to add a line to the scanned units the singular form in addition to the plural and the symbol. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6093 Trac 1.4.3 viboes Thu, 03 Nov 2011 23:16:18 GMT status changed https://svn.boost.org/trac10/ticket/6093#comment:1 https://svn.boost.org/trac10/ticket/6093#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Fixed in trunk <a class="changeset" href="https://svn.boost.org/trac10/changeset/75237" title="Chrono: fix 2 new tests [N/D]second and duration input from float or double">r75237</a>. </p> Ticket viboes Thu, 10 Nov 2011 22:01:16 GMT milestone changed https://svn.boost.org/trac10/ticket/6093#comment:2 https://svn.boost.org/trac10/ticket/6093#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.49.0</span> </li> </ul> Ticket viboes Sat, 26 Nov 2011 00:11:14 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6093#comment:3 https://svn.boost.org/trac10/ticket/6093#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/75665" title="Chrono: Fix #6092,#6093,#6113">[75665]</a>) Chrono: Fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6092" title="#6092: Bugs: input from non integral durations makes the compiler fail (closed: fixed)">#6092</a>,<a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6093" title="#6093: Bugs: [1/3]second fails as valid duration input (closed: fixed)">#6093</a>,<a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6113" title="#6113: Bugs: duplicate symbol when BOOST_CHRONO_HEADER_ONLY is defined (closed: fixed)">#6113</a> </p> Ticket