std::ranges::enumerate_view<V>:: enumerate_view
From cppreference.net
<
cpp
|
ranges
|
enumerate view
C++
Ranges library
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
std::ranges::enumerate_view
| Member functions | ||||
|
enumerate_view::enumerate_view
|
||||
|
(C++26)
|
||||
| Deduction guides | ||||
| Nested classes | ||||
| Iterator | ||||
| Sentinel | ||||
|
enumerate_view
(
)
requires
std::
default_initializable
<
V
>
=
default
;
|
(1) | (since C++23) |
|
constexpr
explicit
enumerate_view
(
V base
)
;
|
(2) | (since C++23) |
Constructs a
enumerate_view
.
1)
Default constructor.
Value-initializes
the underlying view
base_
. After construction,
base()
returns a copy of
V
(
)
.
Parameters
| base | - | the underlying view |
Example
|
This section is incomplete
Reason: no example |