Returns the number of elements in the list.
Definition at line 1586 of file stl_list.h.
1587 {
1588#if _GLIBCXX_USE_CXX11_ABI
1590#else
1592#endif
1593 }
constexpr iterator_traits< _InputIterator >::difference_type distance(_InputIterator __first, _InputIterator __last)
A generalization of pointer arithmetic.
iterator begin() noexcept
size_t _M_get_size() const
Referenced by _M_resize_pos(), std::operator<=>(), remove(), remove_if(), unique(), and unique().