This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of TC1 status.
Section: 220.127.116.11 [locale.statics] Status: TC1 Submitter: Matt Austern Opened: 1997-12-24 Last modified: 2017-02-03
Priority: Not Prioritized
View all issues with TC1 status.
It appears there's an important guarantee missing from clause 22. We're told that invoking locale::global(L) sets the C locale if L has a name. However, we're not told whether or not invoking setlocale(s) sets the global C++ locale.
The intent, I think, is that it should not, but I can't find any such words anywhere.
Add a sentence at the end of 18.104.22.168 [locale.statics], paragraph 2:
No library function other than locale::global() shall affect the value returned by locale().