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.
Section: 26.4.5 [category.time] Status: CD1 Submitter: Martin Sebor Opened: 2000-06-22 Last modified: 2016-02-10
Priority: Not Prioritized
View all issues with CD1 status.
There is no requirement that any of time_get member functions set ios::eofbit when they reach the end iterator while parsing their input. Since members of both the num_get and money_get facets are required to do so (22.214.171.124.2, and 126.96.36.199.2, respectively), time_get members should follow the same requirement for consistency.
Add paragraph 2 to section 188.8.131.52 with the following text:
If the end iterator is reached during parsing by any of the get() member functions, the member sets ios_base::eofbit in err.
Two alternative resolutions were proposed. The LWG chose this one because it was more consistent with the way eof is described for other input facets.