size [C++ Reference]
Keywords: stl,list,size
Date: 2008-10-14T15:42:06-0700

[[size]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## size

Syntax:

        #include <list>
        size_type size() const;

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

Related Topics: empty, max_size, resize

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •