This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Dup status.

447. Wrong template argument for time facets

Section: 28.3.3.1.2.1 [locale.category] Status: Dup Submitter: Pete Becker Opened: 2003-12-26 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [locale.category].

View all issues with Dup status.

Duplicate of: 327

Discussion:

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.

Proposed resolution:

Change the second template argument to InputIterator.

Rationale: