Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/container/span/size"

From cppreference.com
< cpp‎ | container‎ | span
(Added const.)
m (link to ja)
Line 16: Line 16:
 
{{dsc end}}
 
{{dsc end}}
  
{{langlinks|zh}}
+
{{langlinks|ja|zh}}

Revision as of 00:26, 6 July 2018

 
 
 
 
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) [edit]
returns the size of the sequence in bytes
(public member function) [edit]