OSDN Git Service

2009-12-15 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Dec 2009 17:42:47 +0000 (17:42 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Dec 2009 17:42:47 +0000 (17:42 +0000)
commit180334b0fcd371aa4b196c5186b1d1c8a151489c
treec2f8524e3fae97a6caa54a748bb213d265ab2a11
parent08a7e80f016a54ecc82107cab569ae5aa26e6700
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155261 138bc75d-0d04-0410-961f-82ee72b054a4
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]