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

327. Typo in time_get facet in table 52

Section: 30.3.1.2.1 [locale.category] Status: CD1 Submitter: Tiki Wan Opened: 2001-07-06 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [locale.category].

View all issues with CD1 status.

Duplicate of: 447

Discussion:

The wchar_t versions of time_get and time_get_byname are listed incorrectly in table 52, required instantiations. In both cases the second template parameter is given as OutputIterator. It should instead be InputIterator, since these are input facets.

Proposed resolution:

In table 52, required instantiations, in 30.3.1.2.1 [locale.category], change

    time_get<wchar_t, OutputIterator>
    time_get_byname<wchar_t, OutputIterator>

to

    time_get<wchar_t, InputIterator>
    time_get_byname<wchar_t, InputIterator>

[Redmond: Very minor change in proposed resolution. Original had a typo, wchart instead of wchar_t.]