Remove deprecated iostream members for C++17
authorJonathan Wakely <jwakely@redhat.com>
Tue, 25 Jul 2017 17:47:52 +0000 (18:47 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 25 Jul 2017 17:47:52 +0000 (18:47 +0100)
commita74bc411bce0cdc1801574e5d2b4fa3fb143b0ee
tree67bf4f92145bf1720f5cc60917a9db7dbd3cd0d3
parent6d20bf1870484e659b3cb744ee627dafc902b491
Remove deprecated iostream members for C++17

* include/bits/ios_base.h (ios_base::io_state, ios_base::open_mode)
(ios_base::seek_dir): Remove for C++17.
* include/std/streambuf (basic_streambuf::stossc): Remove for C++17.
Add deprecated attribute for C++11 and C++14.
* testsuite/27_io/types/1.cc: Don't run for C++17 and later.
* testsuite/27_io/types/4.cc: New.

From-SVN: r250531
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/ios_base.h
libstdc++-v3/include/std/streambuf
libstdc++-v3/testsuite/27_io/types/1.cc
libstdc++-v3/testsuite/27_io/types/4.cc [new file with mode: 0644]