bsl::list::size

Return the number of elements in this list.

Synopsis

Declared in <bslstl_list.h>

list<VALUE, ALLOCATOR>::size_type
size() const noexcept;