Section: 30.4.6 [category.time] Status: CD1 Submitter: Martin Sebor Opened: 2000-06-22 Last modified: 2016-01-28 10:19:27 UTC
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 (188.8.131.52.2, and 184.108.40.206.2, respectively), time_get members should follow the same requirement for consistency.
Add paragraph 2 to section 220.127.116.11 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.