re PR libstdc++/55847 (mistake bad_weak_ptr::what() message)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Mon, 7 Jan 2013 00:50:16 +0000 (00:50 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 7 Jan 2013 00:50:16 +0000 (00:50 +0000)
commit78aff3368069ecca868e9fa9d5f7b724c4c4c2c9
treeecf9ebe03a77251e2a455aa79bb45c39aac2be8c
parent26ba9c91ba8dbc78b46b63559b208ed4a31e9457
re PR libstdc++/55847 (mistake bad_weak_ptr::what() message)

PR libstdc++/55847
* src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
* testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
string.

PR libstdc++/55728
* include/std/functional (bad_function_call::what()): Declare.
* src/c++11/functional.cc (bad_function_call::what()): Define.
* config/abi/pre/gnu.ver (bad_function_call::what()): Export.
* testsuite/20_util/bad_function_call/what.cc: New.

From-SVN: r194958
libstdc++-v3/ChangeLog
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/include/std/functional
libstdc++-v3/src/c++11/functional.cc
libstdc++-v3/src/c++11/shared_ptr.cc
libstdc++-v3/testsuite/20_util/bad_function_call/what.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc