std::ranges::concat_view<Views...>:: iterator <Const>:: operator[]
From cppreference.net
<
cpp
|
ranges
|
concat view
|
iterator
C++
Ranges library
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
std::ranges::concat_view
| Member functions | ||||
| Deduction guides | ||||
| Iterator | ||||
| Member functions | ||||
|
concat_view::
iterator
::operator[]
|
||||
| Non-member functions | ||||
|
constexpr
decltype
(
auto
)
operator
[
]
(
difference_type pos
)
const
requires /*concat-is-random-access*/ < Const, Views... > ; |
(seit C++26) | |
Gibt eine Referenz auf ein Element an der angegebenen relativen Position zurück.
Inhaltsverzeichnis |
Parameter
| pos | - | Position relativ zum aktuellen Standort |
Rückgabewert
* ( ( * this ) + pos )
Beispiel
|
Dieser Abschnitt ist unvollständig
Grund: Kein Beispiel |
Siehe auch
|
(C++26)
|
greift auf das Element zu
(öffentliche Elementfunktion) |