aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-01-29 12:33:32 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2018-01-29 12:33:32 +0000
commit73ebece382667f8b2d999676ba77bfd66eb2d9cd (patch)
treea079e590c2a734aab467f5fcf75a53220fff903a /gcc
parent27837e0c35badaa19b418d460c0cf69012bc9f07 (diff)
downloadgcc-73ebece382667f8b2d999676ba77bfd66eb2d9cd.zip
gcc-73ebece382667f8b2d999676ba77bfd66eb2d9cd.tar.gz
gcc-73ebece382667f8b2d999676ba77bfd66eb2d9cd.tar.bz2
PR libstdc++/83658 fix exception-safety in std::any::emplace
PR libstdc++/83658 * include/std/any (any::__do_emplace): Only set _M_manager after constructing the contained object. * testsuite/20_util/any/misc/any_cast_neg.cc: Adjust dg-error line. * testsuite/20_util/any/modifiers/83658.cc: New test. From-SVN: r257141
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions