Template:cpp/container/size

Returns the number of elements in the container, i.e..

Parameters
(none)

Return value
The number of elements in the container.

Complexity
Constant.