max_size

Syntax:

    #include <map>
    size_type max_size() const;

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

Related Topics: size