Fix PR22366. When move-constructing an associative container and explicitly passing...
authorMarshall Clow <mclow.lists@gmail.com>
Wed, 28 Jan 2015 19:54:25 +0000 (19:54 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Wed, 28 Jan 2015 19:54:25 +0000 (19:54 +0000)
commitd5f461ca03e3028b1202c0c4c75d9480b3219551
tree2168eb257f5ad3b0d19402c72a8f60ca83cae82d
parente6972a029f5d173cdd29b7167c8f4a1901238e0b
Fix PR22366. When move-constructing an associative container and explicitly passing an allocator that compares different, we were not calling the destructor of the elements in the moved-from container.

llvm-svn: 227359
libcxx/include/__tree
libcxx/test/std/containers/associative/map/map.cons/move_alloc.pass.cpp
libcxx/test/std/containers/associative/multimap/multimap.cons/move_alloc.pass.cpp
libcxx/test/std/containers/associative/multiset/multiset.cons/move_alloc.pass.cpp
libcxx/test/std/containers/associative/set/set.cons/move_alloc.pass.cpp
libcxx/test/support/Counter.h [new file with mode: 0644]