diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2014-09-24 23:13:35 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2014-09-24 23:13:35 +0100 |
commit | 2d57872662dbc913717b84343606a7d7fa6f6226 (patch) | |
tree | 0e959cb12a69e0a0672b41213a3c61b9b6b8261f /libstdc++-v3/config | |
parent | 407f9471cd5406d350c3e521d7f2b4307f2da967 (diff) | |
download | gcc-2d57872662dbc913717b84343606a7d7fa6f6226.zip gcc-2d57872662dbc913717b84343606a7d7fa6f6226.tar.gz gcc-2d57872662dbc913717b84343606a7d7fa6f6226.tar.bz2 |
re PR libstdc++/56193 (ios_base should replace operator void* with explicit operator bool in C++11 onwards.)
PR libstdc++/56193
* config/abi/pre/gnu.ver: Add new exports.
* include/bits/basic_ios.h (basic_ios::operator bool): Define.
* src/c++98/ios_locale.cc (basic_ios::operator void*): Instantiate.
From-SVN: r215571
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r-- | libstdc++-v3/config/abi/pre/gnu.ver | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 63985fd..0559444 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -1470,6 +1470,9 @@ GLIBCXX_3.4.21 { _ZNSoC[12]ERSd; _ZNSt13basic_ostreamIwSt11char_traitsIwEEC[12]ERSt14basic_iostreamIwS1_E; + # std::basic_ios::operator bool() const + _ZNKSt9basic_iosI[cw]St11char_traitsI[cw]EEcvbEv; + } GLIBCXX_3.4.20; |