std::ranges::slide_view<V>::iterator<Const>::iterator
From cppreference.com
< cpp | ranges | slide view | iterator
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::slide_view
(C++26)
Member functions
slide_view::iterator::iterator
Non-member functions
Member functions
Non-member functions
/*iterator*/();
(1)
(since C++23)
constexpr /*iterator*/( /*iterator*/<!Const> i )
(2)
(since C++23)
requires Const &&
private:
(3)
(exposition only*)
constexpr /*iterator*/( ranges::iterator_t <Base> current,
ranges::range_difference_t <Base> n )
private:
(4)
(exposition only*)
constexpr /*iterator*/( ranges::iterator_t <Base> current,
ranges::iterator_t <Base> last_ele,
ranges::range_difference_t <Base> n )
Construct an iterator.
1) Default constructor. Value-initializes the underlying data members:
-
current_
with ranges::iterator_t <Base>(), -
last_ele_
with ranges::iterator_t <Base>() (note that this member may not be present), -
n_
with 0.
2) Conversion from /*iterator*/<false> to /*iterator*/<true>. Initializes the underlying data members:
Note that /*iterator*/<true> can only be formed when
Base
models /*slide-caches-nothing*/, in which case last_ele_
is not present.3) A private constructor which is used by ranges::slide_view::begin and ranges::slide_view::end. This constructor is not accessible to users. Initializes the underlying data members:
Note that this overload can only be present if
last_ele_
is not present.4) A private constructor which is used by ranges::slide_view::begin and ranges::slide_view::end. This constructor is not accessible to users. Initializes the underlying data members:
[edit] Parameters
i
-
an /*iterator*/<false>
current
-
an iterator to current element of
slide_view
last_ele
-
an iterator to last element of
slide_view
n
-
the slide window width of
slide_view
[edit] Example
This section is incomplete
Reason: no example
Reason: no example