]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/59548 (Abort after copying std::unordered_map in debug mode)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 26 Mar 2014 19:41:16 +0000 (19:41 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 26 Mar 2014 19:41:16 +0000 (19:41 +0000)
commit5995836e4eb4c7cccded0951ba0b251ef3043fd2
tree033805ce60dcb619da8d45bdb3fb1f9f71820ee7
parent684b6b7fe8d5c74e7d0ee59fb26e0d7ffef7a598
re PR libstdc++/59548 (Abort after copying std::unordered_map in debug mode)

PR libstdc++/59548
* include/debug/safe_unordered_base.h (_Safe_unordered_container_base):
Define copy and move constructors that handle iterators correctly.
* testsuite/23_containers/unordered_map/59548.cc: New.

From-SVN: r208850
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/safe_unordered_base.h
libstdc++-v3/testsuite/23_containers/unordered_map/59548.cc [new file with mode: 0644]