multiset::max_size

size_type max_size() const;

The member function returns the length of the longest sequence that the object can control.