diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2016-10-24 16:22:11 +0300 |
---|---|---|
committer | Ville Voutilainen <ville@gcc.gnu.org> | 2016-10-24 16:22:11 +0300 |
commit | a3f6007cbc84242c088097e46602a65f9654a349 (patch) | |
tree | cdd80a119a6aa9e73779d62f044b7bced051e78d /gcc/fortran/trans-array.c | |
parent | 292af537961e1f4ac5e1e7f0e727fb79b5196998 (diff) | |
download | gcc-a3f6007cbc84242c088097e46602a65f9654a349.zip gcc-a3f6007cbc84242c088097e46602a65f9654a349.tar.gz gcc-a3f6007cbc84242c088097e46602a65f9654a349.tar.bz2 |
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
Diffstat (limited to 'gcc/fortran/trans-array.c')
0 files changed, 0 insertions, 0 deletions