diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2019-01-10 15:14:57 +0200 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-01-10 13:14:57 +0000 |
commit | c3799b164fac7576ada4cad5a5069cbe911b4849 (patch) | |
tree | f84fa45aa7f81f4cb7d7a541bd155b083ede00ec /libstdc++-v3/config/abi/pre/gnu.ver | |
parent | e222497dcb808dc0c8e24dcded5b90bac4b59122 (diff) | |
download | gcc-c3799b164fac7576ada4cad5a5069cbe911b4849.zip gcc-c3799b164fac7576ada4cad5a5069cbe911b4849.tar.gz gcc-c3799b164fac7576ada4cad5a5069cbe911b4849.tar.bz2 |
Implement LWG 2221: formatted output operator for nullptr
2019-01-10 Ville Voutilainen <ville.voutilainen@gmail.com>
Jonathan Wakely <jwakely@redhat.com>
Implement LWG 2221
* config/abi/pre/gnu.ver (GLIBCXX_3.4): Tighten patterns.
(GLIBCXX_3.4.26): Add new exports.
* include/Makefile.am: Add ostream-inst.cc. Move string-inst.cc to
correct list of sources.
* include/Makefile.in: Regenerate.
* include/std/ostream (operator<<(nullptr_t)): New member function.
* src/c++17/ostream-inst.cc: New file.
* testsuite/27_io/basic_ostream/inserters_other/char/lwg2221.cc: New
test.
Co-Authored-By: Jonathan Wakely <jwakely@redhat.com>
From-SVN: r267808
Diffstat (limited to 'libstdc++-v3/config/abi/pre/gnu.ver')
-rw-r--r-- | libstdc++-v3/config/abi/pre/gnu.ver | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 92af1ae..788c2e0 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -495,7 +495,7 @@ GLIBCXX_3.4 { _ZNSo8_M_writeEPKc[ilx]; _ZNSo3put*; _ZNSo[5-9][a-z]*; - _ZNSolsE*[^g]; + _ZNSolsE*[^Dg]; # std::basic_ostream<wchar_t> _ZNSt13basic_ostreamIwSt11char_traitsIwEEC[12]Ev; @@ -509,7 +509,7 @@ GLIBCXX_3.4 { _ZNSt13basic_ostreamIwSt11char_traitsIwEE5writeEPKw*; _ZNSt13basic_ostreamIwSt11char_traitsIwEE6sentry*; _ZNSt13basic_ostreamIwSt11char_traitsIwEE8_M_writeEPKw[ilx]; - _ZNSt13basic_ostreamIwSt11char_traitsIwEElsE*[^g]; + _ZNSt13basic_ostreamIwSt11char_traitsIwEElsE*[^Dg]; # std::ostream operators and inserters _ZSt4end[ls]I[cw]St11char_traitsI[cw]EERSt13basic_ostream*; @@ -2223,6 +2223,10 @@ GLIBCXX_3.4.26 { _ZNSt10filesystem7__cxx1128recursive_directory_iteratoraSEOS1_; _ZNSt10filesystem7__cxx1128recursive_directory_iteratorppEv; + # basic_ostream::operator<<(nullptr_t) + _ZNSolsEDn; + _ZNSt13basic_ostreamIwSt11char_traitsIwEElsEDn; + } GLIBCXX_3.4.25; # Symbols in the support library (libsupc++) have their own tag. |