Section: 18.104.22.168.2 [locale.time.get.virtuals] Status: Open Submitter: Hubert Tong Opened: 2015-06-19 Last modified: 2017-09-10
View all other issues in [locale.time.get.virtuals].
View all issues with Open status.
I recently encountered a failure related to questionable use of do_get_year. The platform where the code happened to work had an implementation which handled certain three-digit "year identifiers" as the number of years since 1900 (this article describes such an implementation).22.214.171.124.2 [locale.time.get.virtuals] makes it implementation defined whether two-digit years are accepted, etc., but does not say anything specifically about three-digit years. The implementation freedom to not report errors in 126.96.36.199 [locale.time.get] paragraph 1 also seems to be too broad. See also the discussion following c++std-lib-38042.
Wed PM: This has been this way since C++98. Don't think it's a P2.
Change to P4, and move to Open.