Namespaces
Variants
Views
Actions

std::span::size

From cppreference.com
< cpp‎ | container‎ | span
constexpr index_type size() const noexcept;

Returns the number of elements in the span.

[edit] Return value

The number of elements in the span.

[edit] See also

constructs a span
(public member function) [edit]
returns the size of the sequence in bytes
(public member function) [edit]