diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-03-01 13:50:36 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-03-01 13:50:36 +0000 |
commit | 987bbe48bb03e04810e6c97f292549f11b5b2126 (patch) | |
tree | 434cccf6919aafcdf2743a74aa2c7bde2393a2c4 /gcc | |
parent | 1ccd8493516548e4da242b1093754aad323cd400 (diff) | |
download | gcc-987bbe48bb03e04810e6c97f292549f11b5b2126.zip gcc-987bbe48bb03e04810e6c97f292549f11b5b2126.tar.gz gcc-987bbe48bb03e04810e6c97f292549f11b5b2126.tar.bz2 |
C++2a Utility functions to implement uses-allocator construction (P0591R4)
* include/std/memory (uses_allocator_construction_args): New set of
overloaded functions.
(make_obj_using_allocator, uninitialized_construct_using_allocator):
New functions.
* include/std/memory_resource (polymorphic_allocator::construct)
[__cplusplus > 201703l]: Replace all overloads with a single function
using uses_allocator_construction_args.
* testsuite/20_util/polymorphic_allocator/construct_c++2a.cc: New
test.
* testsuite/20_util/uses_allocator/make_obj.cc: New test.
From-SVN: r269311
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions