]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Make std::println use locale from ostream (LWG 4088)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 11 Dec 2024 09:37:48 +0000 (09:37 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 11 Dec 2024 10:52:09 +0000 (10:52 +0000)
commit1fd7e36e990396c22823cedd068def2aa3b112ce
tree6f7b14ff239e64b521f6842b715c1269c14f81aa
parente76df3586417d645dd84e8a1ab165605a8924796
libstdc++: Make std::println use locale from ostream (LWG 4088)

This was just approved in Wrocław.

libstdc++-v3/ChangeLog:

* include/std/ostream (println): Pass stream's locale to
std::format, as per LWG 4088.
* testsuite/27_io/basic_ostream/print/1.cc: Check std::println
with custom locale. Remove unused brit_punc class.
libstdc++-v3/include/std/ostream
libstdc++-v3/testsuite/27_io/basic_ostream/print/1.cc