aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-06-25 21:33:02 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-06-28 13:34:49 +0100
commite5c422b7d8af6f42f8ab230133210742b7ac5661 (patch)
treef6a15d03dfdf5321b25267df14e1f92b575ec09a /gcc
parentb838641bb0d4de5b25128b54012155ab46f452d0 (diff)
downloadgcc-e5c422b7d8af6f42f8ab230133210742b7ac5661.zip
gcc-e5c422b7d8af6f42f8ab230133210742b7ac5661.tar.gz
gcc-e5c422b7d8af6f42f8ab230133210742b7ac5661.tar.bz2
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.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions