std::ranges::enumerate_view<V>::enumerate_view
From cppreference.com
< cpp | ranges | enumerate view
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Ranges library
(C++23)(C++23)
(C++26)(C++26)
(C++23)(C++23)
(C++26)(C++26)
(C++26)(C++26)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)
(C++23)(C++23)
(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
std::ranges::enumerate_view
enumerate_view::enumerate_view
(C++26)
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().[edit] Parameters
base
-
the underlying view
[edit] Example
This section is incomplete
Reason: no example
Reason: no example