Namespaces
Variants

std::ranges::concat_view<Views...>:: iterator <Const>:: operator[]

From cppreference.net
Ranges library
Range adaptors
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

Siehe auch

(C++26)
greift auf das Element zu
(öffentliche Elementfunktion)