Return the maximum possible size of this deque. Note that this is a theoretical maximum (such as the maximum value that can be held by size_type). Also note that any request to create or enlarge a deque to a size greater than max_size() is guaranteed to raise a bsl::length_error exception.
Declared in <bslstl_deque.h>
deque<VALUE_TYPE, ALLOCATOR>::size_type
max_size() const noexcept;