table of contents
std::ranges::enumerate_view::enumerate_view(3) | C++ Standard Libary | std::ranges::enumerate_view::enumerate_view(3) |
NAME¶
std::ranges::enumerate_view::enumerate_view - std::ranges::enumerate_view::enumerate_view
Synopsis¶
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().
2) Initializes the underlying view base_ with std::move(base).
Parameters¶
base - the underlying view
Example¶
This section is incomplete
Reason: no example
Category:¶
* Todo no example
2024.06.10 | http://cppreference.com |