Title
Wrong template argument for time facets
Status
dup
Section
[locale.category]
Submitter
Pete Becker

Created on 2003-12-26.00:00:00 last changed 163 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

Duplicate: 327

Date: 2010-10-21.18:28:33

Proposed resolution:

Change the second template argument to InputIterator.

Date: 2003-12-26.00:00:00

22.1.1.1.1/4, table 52, "Required Instantiations", lists, among others:

    time_get<char,InputIterator>
    time_get_byname<char,InputIterator>
    time_get<wchar_t,OutputIterator>
    time_get_byname<wchar_t,OutputIterator>

The second argument to the last two should be InputIterator, not OutputIterator.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg2669
2010-10-21 18:28:33adminsetmessages: + msg2668
2003-12-26 00:00:00admincreate