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.
std::size_t max_size() const; » more...