diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-03-04 12:21:06 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-03-04 12:21:06 +0000 |
commit | 0e31827300f1ce12857070c5f27a10ebcca4933e (patch) | |
tree | 2e95c301a67b9672266bce31c42a09af94659cf9 /gcc | |
parent | c4450491148133f3825470a6c69d90c745986fe8 (diff) | |
download | gcc-0e31827300f1ce12857070c5f27a10ebcca4933e.zip gcc-0e31827300f1ce12857070c5f27a10ebcca4933e.tar.gz gcc-0e31827300f1ce12857070c5f27a10ebcca4933e.tar.bz2 |
Implement polymorphic_allocator<byte> for C++20 (P0339R6)
* include/std/memory_resource (polymorphic_allocator): Add default
template argument for C++20.
(polymorphic_allocator::allocate_bytes)
(polymorphic_allocator::deallocate_bytes)
(polymorphic_allocator::allocate_object)
(polymorphic_allocator::deallocate_object)
(polymorphic_allocator::new_object)
(polymorphic_allocator::delete_object): New member functions for
C++20.
* testsuite/20_util/polymorphic_allocator/allocate_object.cc: New
test.
From-SVN: r269362
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions