Template:cpp/container/max size

Returns the maximum number of elements the container is able to hold due to system or library implementation limitations, i.e. for the largest container.

Parameters
(none)

Return value
Maximum number of elements.

Complexity
Constant.

Example
{{#ifeq: {{{1|}}} | forward_list||