| ||||||||||||||||||||||
| Range primitives | |||||||
| |||||||
| Range concepts | |||||||||||||||||||
| |||||||||||||||||||
| Range factories | |||||||||
| |||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Helper items | |||||||||||||||||
| |||||||||||||||||
| Member functions | ||||
elements_view::size | ||||
(C++26) | ||||
| Nested classes | ||||
| Iterator | ||||
| Sentinel | ||||
constexprauto size() requiresranges::sized_range<V>; | (since C++20) | |
constexprauto size()const requiresranges::sized_range<const V>; | (since C++20) | |
Returns the number of elements, i.e.ranges::size(base_), wherebase_ is the underlying view.
Contents |
(none)
The number of elements.
| This section is incomplete Reason: no example |
(C++20) | returns an integer equal to the size of a range (customization point object)[edit] |
(C++20) | returns a signed integer equal to the size of a range (customization point object)[edit] |