-
- Downloads
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
Showing
- libstdc++-v3/ChangeLog 14 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/std/memory_resource 61 additions, 2 deletionslibstdc++-v3/include/std/memory_resource
- libstdc++-v3/testsuite/20_util/polymorphic_allocator/allocate_object.cc 80 additions, 0 deletions...estsuite/20_util/polymorphic_allocator/allocate_object.cc
Loading
Please register or sign in to comment