alloc_traits.h (_S_max_size): Implement LWG 2466.
authorJonathan Wakely <jwakely@redhat.com>
Wed, 13 May 2015 12:21:45 +0000 (13:21 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 13 May 2015 12:21:45 +0000 (13:21 +0100)
commit32e6a60e3a002b1f48592fd7d83956b98474cb2c
treec3929cd44f7cef865192adff6ad2d1e4fbfb130b
parent0501dbd932a7e9ac64f14158d9ef998b08d01243
alloc_traits.h (_S_max_size): Implement LWG 2466.

* include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
* testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
* testsuite/23_containers/forward_list/allocator/minimal.cc:
Likewise.
* testsuite/23_containers/map/allocator/minimal.cc: Likewise.
* testsuite/23_containers/multimap/allocator/minimal.cc: Likewise.
* testsuite/23_containers/multiset/allocator/minimal.cc: Likewise.
* testsuite/23_containers/set/allocator/minimal.cc: Likewise.
* testsuite/23_containers/unordered_map/allocator/minimal.cc:
Likewise.
* testsuite/23_containers/unordered_multimap/allocator/minimal.cc:
Likewise.
* testsuite/23_containers/unordered_multiset/allocator/minimal.cc:
Likewise.
* testsuite/23_containers/unordered_set/allocator/minimal.cc:
Likewise.
* testsuite/util/testsuite_allocator.h: Remove unused parameter.

From-SVN: r223154
13 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/alloc_traits.h
libstdc++-v3/testsuite/20_util/allocator_traits/members/max_size.cc
libstdc++-v3/testsuite/23_containers/forward_list/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/map/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/multimap/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/multiset/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/set/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/unordered_map/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/unordered_set/allocator/minimal.cc
libstdc++-v3/testsuite/util/testsuite_allocator.h