mirror of git://gcc.gnu.org/git/gcc.git
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 |
||
|---|---|---|
| .. | ||
| assign | ||
| cmp | ||
| cons | ||
| invoke | ||
| requirements | ||
| 1.cc | ||
| 2.cc | ||
| 3.cc | ||
| 4.cc | ||
| 5.cc | ||
| 6.cc | ||
| 7.cc | ||
| 8.cc | ||
| 9.cc | ||
| 10.cc | ||
| 43397.cc | ||
| 48541.cc | ||
| null_pointer_comparisons.cc | ||