std::ranges::chunk_view<V>:: iterator <Const>:: operator[]
From cppreference.net
<
cpp
|
ranges
|
chunk view
|
iterator
C++
Ranges library
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
std::ranges::chunk_view
| Member functions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
(C++26)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
constexpr
value_type operator
[
]
(
difference_type pos
)
const
erfordert ranges:: random_access_range < Base > ; |
(seit C++23) | |
Gibt ein Element an der angegebenen relativen Position zurück.
Entspricht: return * ( * this + pos ) ; .
Inhaltsverzeichnis |
Parameter
| pos | - | Position relativ zum aktuellen Standort |
Rückgabewert
Das Element (vom Typ
value_type
) an der Position
pos
relativ zum aktuellen Standort.
Beispiel
|
Dieser Abschnitt ist unvollständig
Grund: Kein Beispiel |
Siehe auch
|
(C++23)
|
greift auf das Element zu
(öffentliche Elementfunktion) |