llvm-project/libcxx/test/std/containers/sequences/list/list.capacity
Eric Fiselier 55b31b4e69 [libcxx] Fix max_size() across all containers
Summary: The `max_size()` method of containers should respect both the allocator's reported `max_size` and the range of the `difference_type`. This patch makes all containers choose the smallest of those two values.

Reviewers: mclow.lists, EricWF

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D26885

llvm-svn: 287729
2016-11-23 01:18:56 +00:00
..
max_size.pass.cpp [libcxx] Fix max_size() across all containers 2016-11-23 01:18:56 +00:00
resize_size.pass.cpp
resize_size_value.pass.cpp