cppreference.com > C++ Multimaps > max_size
max_size
Syntax:
  size_type max_size() const;

The max_size() function returns the maximum number of elements that the multimap can hold.