stl_tree.h (_Rb_tree_impl()): Restore _Node_allocator default init.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Mon, 12 Jun 2017 20:38:16 +0000 (20:38 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Mon, 12 Jun 2017 20:38:16 +0000 (20:38 +0000)
commit07cfc2d75d85c5fc961bdd8434673f0a5f40587d
treeffe9b9b9b57625a8e8ca439834e062bbdc18e050
parent6d1ea02a6c3423a000c0d894b2ff673757042398
stl_tree.h (_Rb_tree_impl()): Restore _Node_allocator default init.

2017-06-12  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/stl_tree.h (_Rb_tree_impl()): Restore _Node_allocator
default init.
* testsuite/util/testsuite_allocator.h
(__gnu_test::default_init_allocator<>) New.
* testsuite/23_containers/set/allocator/default_init.cc: New.
* testsuite/23_containers/map/allocator/default_init.cc: New.

From-SVN: r249136
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_tree.h
libstdc++-v3/testsuite/23_containers/map/allocator/default_init.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/set/allocator/default_init.cc [new file with mode: 0644]
libstdc++-v3/testsuite/util/testsuite_allocator.h