std::span<T,Extent>::size
From cppreference.com
constexpr index_type size() const noexcept; |
||
Returns the number of elements in the span.
Return value
The number of elements in the span.
See also
constructs a span (public member function) | |
returns the size of the sequence in bytes (public member function) |