libstdc++: Export basic_stringbuf constructor [PR 97729]
authorJonathan Wakely <jwakely@redhat.com>
Thu, 5 Nov 2020 13:41:40 +0000 (13:41 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 5 Nov 2020 18:01:25 +0000 (18:01 +0000)
libstdc++-v3/ChangeLog:

PR libstdc++/97729
* config/abi/pre/gnu.ver (GLIBCXX_3.4.29): Add exports.
* src/c++20/sstream-inst.cc (basic_stringbuf): Instantiate
private constructor taking __xfer_bufptrs.

libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/src/c++20/sstream-inst.cc

index 707539a17c3a3b151fd8858e28f87b5aaca5aee1..ed68ffa28723a39c8583943ece30f3b2161cc7c3 100644 (file)
@@ -2346,6 +2346,7 @@ GLIBCXX_3.4.29 {
 
     # basic_stringbuf::basic_stringbuf(basic_stringbuf&&, allocator const&)
     _ZNSt7__cxx1115basic_stringbufI[cw]St11char_traitsI[cw]ESaI[cw]EEC[12]EOS4_RKS3_;
+    _ZNSt7__cxx1115basic_stringbufI[cw]St11char_traitsI[cw]ESaI[cw]EEC[12]EOS4_RKS3_ONS4_14__xfer_bufptrsE;
 
     # basic_stringbuf::get_allocator()
     _ZNKSt7__cxx1115basic_stringbufI[cw]St11char_traitsI[cw]ESaI[cw]EE13get_allocatorEv;
index ada3eabac1f552b50f06a6be0ecaac1f6ebc0c1f..7d275de5cc240dbb221f1362130643d100a5a212 100644 (file)
@@ -41,6 +41,9 @@ template basic_stringbuf<char>::basic_stringbuf(__string_type&&,
                                                ios_base::openmode);
 template basic_stringbuf<char>::basic_stringbuf(basic_stringbuf&&,
                                                const allocator_type&);
+template basic_stringbuf<char>::basic_stringbuf(basic_stringbuf&&,
+                                               const allocator_type&,
+                                               __xfer_bufptrs&&);
 template basic_stringbuf<char>::allocator_type
 basic_stringbuf<char>::get_allocator() const noexcept;
 template string_view
@@ -75,6 +78,9 @@ template basic_stringbuf<wchar_t>::basic_stringbuf(__string_type&&,
                                                   ios_base::openmode);
 template basic_stringbuf<wchar_t>::basic_stringbuf(basic_stringbuf&&,
                                                   const allocator_type&);
+template basic_stringbuf<wchar_t>::basic_stringbuf(basic_stringbuf&&,
+                                                  const allocator_type&,
+                                                  __xfer_bufptrs&&);
 template basic_stringbuf<wchar_t>::allocator_type
 basic_stringbuf<wchar_t>::get_allocator() const noexcept;