]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Implement LWG 415 for std::ws
authorJonathan Wakely <jwakely@redhat.com>
Fri, 25 Jun 2021 20:33:02 +0000 (21:33 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 28 Jun 2021 12:34:49 +0000 (13:34 +0100)
commite5c422b7d8af6f42f8ab230133210742b7ac5661
treef6a15d03dfdf5321b25267df14e1f92b575ec09a
parentb838641bb0d4de5b25128b54012155ab46f452d0
libstdc++: Implement LWG 415 for std::ws

For C++11 std::ws changed to be an unformatted input function, meaning
it constructs a sentry and sets badbit on exceptions.

libstdc++-v3/ChangeLog:

* doc/xml/manual/intro.xml: Document LWG 415 change.
* doc/html/manual/bugs.html: Regenerate.
* include/bits/istream.tcc (ws): Create sentry and catch
exceptions.
* testsuite/27_io/basic_istream/ws/char/lwg415.cc: New test.
* testsuite/27_io/basic_istream/ws/wchar_t/lwg415.cc: New test.
libstdc++-v3/doc/html/manual/bugs.html
libstdc++-v3/doc/xml/manual/intro.xml
libstdc++-v3/include/bits/istream.tcc
libstdc++-v3/testsuite/27_io/basic_istream/ws/char/lwg415.cc [new file with mode: 0644]
libstdc++-v3/testsuite/27_io/basic_istream/ws/wchar_t/lwg415.cc [new file with mode: 0644]
This page took 0.06034 seconds and 5 git commands to generate.