r155261 - in /trunk/libstdc++-v3: ChangeLog con...
redi@gcc.gnu.org
redi@gcc.gnu.org
Tue Dec 15 17:42:00 GMT 2009
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
More information about the Libstdc++-cvs
mailing list