Implement P0040R3, Extending memory management tools.
authorVille Voutilainen <ville.voutilainen@gmail.com>
Tue, 13 Sep 2016 19:26:02 +0000 (22:26 +0300)
committerVille Voutilainen <ville@gcc.gnu.org>
Tue, 13 Sep 2016 19:26:02 +0000 (22:26 +0300)
commit8e14a10cab52b37c56019b738011f8e4cef28d5a
tree2407fee1f0361d9285afc20e29f5d43f7bf65c99
parent9952908a4b6cf73e8de11af61e1d2c4d67e1b530
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.

From-SVN: r240122
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]