gcc/libstdc++-v3/testsuite/experimental/any
Ville Voutilainen a3f6007cbc Cross-port exception-safety and move fixes of std::any to std::experimental::any.
Cross-port exception-safety and move fixes of std::any to
std::experimental::any.
* include/experimental/any (operator=(const any&)):
Make strongly exception-safe.
(operator=(any&&)): clear() unconditionally in the case where
rhs has a value.
(_Manager_internal<_Tp>::_S_manage): Move in _Op_xfer, don't copy.
* testsuite/experimental/any/assign/2.cc: Adjust.
* testsuite/experimental/any/assign/exception.cc: New.
* testsuite/experimental/any/cons/2.cc: Adjust.
* testsuite/experimental/any/misc/any_cast_neg.cc: Ajust.

From-SVN: r241479
2016-10-24 16:22:11 +03:00
..
assign Cross-port exception-safety and move fixes of std::any to std::experimental::any. 2016-10-24 16:22:11 +03:00
cons Cross-port exception-safety and move fixes of std::any to std::experimental::any. 2016-10-24 16:22:11 +03:00
misc Cross-port exception-safety and move fixes of std::any to std::experimental::any. 2016-10-24 16:22:11 +03:00
modifiers Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
observers Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
typedefs.cc Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00