[Patch] [libstdc++] [C++0x] Export std::string base object move constructor.

Benjamin Kosnik bkoz@redhat.com
Tue Mar 22 14:26:00 GMT 2011


Thanks for reporting this issue Adam. Don't hesitate to file bug
reports in gcc bugzilla category libstdc++ when you find problems like
this in the future!

> So, if Benjamin or other libstdc++ maintainers want it fixed for
> 4.6, you want a patch like attached, plus some testcases for both
> std::string and std::wstring.

I made a note to correct the testsuite deficiency.

> 2011-03-22  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
> 	and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.

Yes please. Thanks for the quickness on this Jakub.

For the record, I just did an audit of src/*inst.cc files mapped to
include files with non-operator && usage to look for similar issues in
other classes. (Non-exported symbols required for move semantics to
function in other library areas.) I didn't find any. 

best,
benjamin



More information about the Libstdc++ mailing list