PR libstdc++/59548
commit8f1514645d3a84ba87072b81adebecf542d08fe1
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jan 2014 20:08:20 +0000 (24 20:08 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jan 2014 20:08:20 +0000 (24 20:08 +0000)
tree9d1ffb6717b8ccecd48672b9346daff8cbf42aaa
parent460ea83ee4307a0867beddf8845627f331e12a24
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207059 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/safe_base.h
libstdc++-v3/include/debug/safe_unordered_base.h
libstdc++-v3/testsuite/23_containers/unordered_map/59548.cc [new file with mode: 0644]