]> git.ipfire.org Git - thirdparty/gcc.git/commit
functional (function::function): Move construct target.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Tue, 15 Dec 2009 17:42:47 +0000 (17:42 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 15 Dec 2009 17:42:47 +0000 (17:42 +0000)
commitec903a9c42e640af51c771cb3a844283acdc566b
treec2f8524e3fae97a6caa54a748bb213d265ab2a11
parent2a71eb48e4348f8bc33f9b02e45fd69adbe66b9c
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
libstdc++-v3/ChangeLog
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/include/bits/functexcept.h
libstdc++-v3/include/std/functional
libstdc++-v3/src/functexcept.cc
libstdc++-v3/testsuite/20_util/function/assign/move_target.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/function/cons/move_target.cc [new file with mode: 0644]