gcc/libstdc++-v3/testsuite/20_util/function
Jonathan Wakely 99ace34a31 re PR libstdc++/55320 (Invalid delete with throwing copy-c'tor passed to std::function)
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/function/cons/callable.cc: Remove header.
	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
	* testsuite/tr1/3_function_objects/function/10.cc: New.

From-SVN: r193514
2012-11-14 23:33:01 +00:00
..
assign functional (function::function): Move construct target. 2009-12-15 17:42:47 +00:00
cmp prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
cons re PR libstdc++/55320 (Invalid delete with throwing copy-c'tor passed to std::function) 2012-11-14 23:33:01 +00:00
invoke
requirements
1.cc
2.cc
3.cc
4.cc
5.cc
6.cc
7.cc
8.cc
9.cc
10.cc functional (__callable_functor): Overload for volatile-qualified pointers. 2012-04-01 18:10:57 +01:00
43397.cc re PR libstdc++/43397 (std::function can't forward rvalue reference for pointer to member function) 2010-03-17 00:22:56 +00:00
48541.cc re PR libstdc++/48541 (std::function(std::_Function_base) should use std::addressof) 2011-04-10 17:35:58 +01:00
null_pointer_comparisons.cc