Opened 11 years ago

Closed 11 years ago

#6093 closed Bugs (fixed)

[1/3]second fails as valid duration input

Reported by: viboes Owned by: viboes
Milestone: Boost 1.49.0 Component: chrono
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:

Description

[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.

Change History (3)

comment:1 by viboes, 11 years ago

Status: newassigned

Fixed in trunk r75237.

comment:2 by viboes, 11 years ago

Milestone: To Be DeterminedBoost 1.49.0

comment:3 by viboes, 11 years ago

Resolution: fixed
Status: assignedclosed

(In [75665]) Chrono: Fix #6092,#6093,#6113

Note: See TracTickets for help on using tickets.