Implement P0040R3, Extending memory management tools.
commitc6fc42e5da0feaa0432ddad1f906e1d369ba9f63
authorville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Sep 2016 19:26:02 +0000 (13 19:26 +0000)
committerville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Sep 2016 19:26:02 +0000 (13 19:26 +0000)
tree2407fee1f0361d9285afc20e29f5d43f7bf65c99
parent4bdba715a1dbb9b4d556dedcaf404cf2f8ce5f51
Implement P0040R3, Extending memory management tools.
* include/bits/stl_uninitialized.h (utility): New include
in C++17 mode.
(uninitialized_default_construct): New.
(uninitialized_default_construct_n): Likewise.
(uninitialized_value_construct): Likewise.
(uninitialized_value_construct_n): Likewise.
(uninitialized_move): Likewise.
(uninitialized_move_n): Likewise.
(destroy_at, destroy, destroy_n): Likewise.
* testsuite/20_util/specialized_algorithms/memory_management_tools/1.cc:
New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240122 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_uninitialized.h
libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/1.cc [new file with mode: 0644]