This is the mail archive of the libstdc++-cvs@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r193520 - in /branches/gcc-4_7-branch/libstdc++...


Author: redi
Date: Thu Nov 15 00:21:09 2012
New Revision: 193520

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193520
Log:
	PR libstdc++/55320
	* include/std/functional (function::function(F)): Set _M_manager after
	operations that could throw.
	(_Function_base::_Ref_manager::_M_init_functor): Use addressof.
	* include/tr1/functional
	(_Function_base::_Ref_manager::_M_init_functor): Use addressof.
	(_Function_base::_Base_manager::_M_get_pointer): Likewise.
	* testsuite/20_util/function/cons/55320.cc: New.
	* testsuite/20_util/function/cons/addressof.cc: New.
	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
	* testsuite/tr1/3_function_objects/function/10.cc: New.

Added:
    branches/gcc-4_7-branch/libstdc++-v3/testsuite/20_util/function/cons/55320.cc
    branches/gcc-4_7-branch/libstdc++-v3/testsuite/20_util/function/cons/addressof.cc
    branches/gcc-4_7-branch/libstdc++-v3/testsuite/tr1/3_function_objects/function/10.cc
Modified:
    branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_7-branch/libstdc++-v3/include/std/functional
    branches/gcc-4_7-branch/libstdc++-v3/include/tr1/functional
    branches/gcc-4_7-branch/libstdc++-v3/testsuite/20_util/bind/ref_neg.cc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]