size

C/C++ Reference

size
Syntax:
  #include <list>
  size_type size() const;

The size() function returns the number of elements in the current list.

Related topics: