-
- Downloads
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
Showing
- libstdc++-v3/ChangeLog 13 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/std/memory 193 additions, 0 deletionslibstdc++-v3/include/std/memory
- libstdc++-v3/include/std/memory_resource 11 additions, 0 deletionslibstdc++-v3/include/std/memory_resource
- libstdc++-v3/testsuite/20_util/polymorphic_allocator/construct_c++2a.cc 125 additions, 0 deletions...estsuite/20_util/polymorphic_allocator/construct_c++2a.cc
- libstdc++-v3/testsuite/20_util/uses_allocator/make_obj.cc 403 additions, 0 deletionslibstdc++-v3/testsuite/20_util/uses_allocator/make_obj.cc
Loading
Please register or sign in to comment