This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r155261 - in /trunk/libstdc++-v3: ChangeLog con...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Tue, 15 Dec 2009 17:42:48 -0000
- Subject: r155261 - in /trunk/libstdc++-v3: ChangeLog con...
Author: redi
Date: Tue Dec 15 17:42:47 2009
New Revision: 155261
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155261
Log:
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.
Added:
trunk/libstdc++-v3/testsuite/20_util/function/assign/move_target.cc
trunk/libstdc++-v3/testsuite/20_util/function/cons/move_target.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/abi/pre/gnu.ver
trunk/libstdc++-v3/include/bits/functexcept.h
trunk/libstdc++-v3/include/std/functional
trunk/libstdc++-v3/src/functexcept.cc