alloc_traits.h (__allow_copy_cons): Remove.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Thu, 14 Nov 2013 12:43:00 +0000 (12:43 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 14 Nov 2013 12:43:00 +0000 (12:43 +0000)
commit8ed13e2757455db9dadc4c20dbf1a4aad3663004
tree5a82706853fdefb4a96e337f812e398e1b1de616
parente4603a754f63751aa9f6d7e14539ecdbb2f4549a
alloc_traits.h (__allow_copy_cons): Remove.

* include/bits/alloc_traits.h (__allow_copy_cons): Remove.
(__check_copy_constructible): Likewise.
* include/bits/unordered_map.h (unordered_map, unordered_multimap):
Do not derive from __check_copy_constructible.
* include/bits/unordered_set.h (unordered_set, unordered_multiset):
Likewise.
* testsuite/23_containers/unordered_map/55043.cc: It is no longer
necessary for is_copy_constructible to be correct to use nested
unordered containers.
* testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
* testsuite/23_containers/unordered_set/55043.cc: Likewise.
* testsuite/23_containers/unordered_multiset/55043.cc: Likewise.

From-SVN: r204790
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/alloc_traits.h
libstdc++-v3/include/bits/unordered_map.h
libstdc++-v3/include/bits/unordered_set.h
libstdc++-v3/testsuite/23_containers/unordered_map/55043.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/55043.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc
libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc