Namespaces
Variants

std::ranges::cartesian_product_view<First, Vs...>:: iterator <Const>:: operator*

From cppreference.net
Ranges library
Range adaptors
constexpr auto operator * ( ) const ;
(seit C++23)

Gibt das aktuelle Element in der cartesian_product_view zurück. Entspricht:

return /*tuple-transform*/ ( [ ] ( auto & i ) - > decltype ( auto ) { return * i ; } , current_ ) ; .

Inhaltsverzeichnis

Parameter

(keine)

Rückgabewert

Das aktuelle Element.

Beispiel

Siehe auch

(C++23)
greift auf ein Element per Index zu
(öffentliche Elementfunktion)