Set the maximum allowed capacity.
void max_size( std::size_t n); » more...
Return the maximum number of bytes, both readable and writable, that can ever be held.
size_type max_size() const; » more...