std::ranges::chunk_view<V>::iterator<Const>::operator*
From cppreference.com
< cpp | ranges | chunk 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::chunk_view
(C++26)
Classes for
input_range
s constexpr value_type operator*() const;
(since C++23)
Returns the current element in the chunk_view
.
Let current_
, end_
, and n_
be the underlying data members.
Equivalent to: return views::take (ranges::subrange (current_, end_), n_).
Before the invocation the expression current_ != end_ must be true, otherwise the behavior is undefined.
Contents
[edit] Parameters
(none)
[edit] Return value
The current element, which is an object of value_type
.
[edit] Example
This section is incomplete
Reason: no example
Reason: no example