diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2014-01-24 20:08:20 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2014-01-24 20:08:20 +0000 |
commit | f74912779b6c45d42c0a09821ad7bad0ae99e8c4 (patch) | |
tree | 9d1ffb6717b8ccecd48672b9346daff8cbf42aaa /gcc/cppbuiltin.c | |
parent | 233aedf4c30248e5504afca2e421e22c3b33c96c (diff) | |
download | gcc-f74912779b6c45d42c0a09821ad7bad0ae99e8c4.zip gcc-f74912779b6c45d42c0a09821ad7bad0ae99e8c4.tar.gz gcc-f74912779b6c45d42c0a09821ad7bad0ae99e8c4.tar.bz2 |
re PR libstdc++/59548 (Abort after copying std::unordered_map in debug mode)
PR libstdc++/59548
* include/debug/safe_base.h (_Safe_sequence_base): Define copy
constructor to prevent it being implicitly defined as deleted, but
do not copy anything.
* include/debug/safe_unordered_base.h (_Safe_unordered_container_base):
Define copy and move constructors similar to _Safe_sequence_base's.
* testsuite/23_containers/unordered_map/59548.cc: New.
From-SVN: r207059
Diffstat (limited to 'gcc/cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions