diff options
author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2009-12-15 17:42:47 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2009-12-15 17:42:47 +0000 |
commit | ec903a9c42e640af51c771cb3a844283acdc566b (patch) | |
tree | c2f8524e3fae97a6caa54a748bb213d265ab2a11 /libstdc++-v3/config | |
parent | 2a71eb48e4348f8bc33f9b02e45fd69adbe66b9c (diff) | |
download | gcc-ec903a9c42e640af51c771cb3a844283acdc566b.zip gcc-ec903a9c42e640af51c771cb3a844283acdc566b.tar.gz gcc-ec903a9c42e640af51c771cb3a844283acdc566b.tar.bz2 |
functional (function::function): Move construct target.
2009-12-15 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/std/functional (function::function): Move construct target.
(function::operator=): Use perfect forwarding for argument.
(function::operator()): Use new __throw_bad_function_call.
* include/bits/functexcept.h (__throw_bad_function_call): Declare.
* src/functexcept.cc (__throw_bad_function_call): Define.
* config/abi/pre/gnu.ver: Add new symbol.
* testsuite/20_util/function/cons/move_target.cc: New.
* testsuite/20_util/function/assign/move_target.cc: New.
From-SVN: r155261
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r-- | libstdc++-v3/config/abi/pre/gnu.ver | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 4ed1cfe..c40288a 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -1068,6 +1068,8 @@ GLIBCXX_3.4.14 { _ZNSs18_S_construct_aux_2*; _ZNSbIwSt11char_traitsIwESaIwEE18_S_construct_aux_2*; + _ZSt25__throw_bad_function_callv; + } GLIBCXX_3.4.13; # Symbols in the support library (libsupc++) have their own tag. |