std::ranges::chunk_by_view<V,Pred>::iterator::operator*
From cppreference.com
< cpp | ranges | chunk by view | iterator
C++
Ranges library
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|||||||||||||||||
std::ranges::chunk_by_view
| Member functions | ||||
| Deduction guides | ||||
| Iterator | ||||
chunk_by_view::iterator::operator* | ||||
|
constexpr value_type operator*() const;
|
(since C++23) | |
Returns the current element in the chunk_by_view.
Equivalent to:
return ranges::subrange(
current_
,
next_
)
Before the call to this operator current_ must not be equal to next_
Parameters
(none)
Return value
The current element.
Example
| This section is incomplete Reason: no example |