PR libstdc++/90239 use uses_allocator_construction_args in <scoped_allocator>
authorJonathan Wakely <jwakely@redhat.com>
Thu, 25 Apr 2019 22:43:15 +0000 (23:43 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 25 Apr 2019 22:43:15 +0000 (23:43 +0100)
commitee2f721c2f7ac5574456833447a492ed1b24b5c2
treeeb17336dee84367488a7f8164d8d65c3513cfb96
parentb6bf4d8a773cde07e751542f2911307d78b717fd
PR libstdc++/90239 use uses_allocator_construction_args in <scoped_allocator>

PR libstdc++/90239
* doc/xml/manual/status_cxx2020.xml: Amend P0591R4 status.
* include/std/scoped_allocator [__cplusplus > 201703L]
(scoped_allocator_adaptor::construct): Define in terms of
uses_allocator_construction_args, as per P0591R4.
* testsuite/20_util/scoped_allocator/construct_pair_c++2a.cc: New test.
* testsuite/util/testsuite_allocator.h: Remove name of unused
parameter.

From-SVN: r270588
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/status_cxx2020.xml
libstdc++-v3/include/std/scoped_allocator
libstdc++-v3/testsuite/20_util/scoped_allocator/construct_pair_c++2a.cc [new file with mode: 0644]
libstdc++-v3/testsuite/util/testsuite_allocator.h