std::ranges::cartesian_product_view<First, Vs...>::iterator<Const>::operator*
constexpr auto operator*() const; | (начиная с C++23) |
Возвращает текущий элемент в cartesian_product_view. Эквивалентно:
return/*tuple-transform*/([](auto&i)->decltype(auto){return*i;}, current_);.
Параметры
(нет)
Возвращаемое значение
Текущий элемент.
Пример
См. также
|
(C++23) | получает доступ к элементу по индексу (открытая функция-член) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/ranges/cartesian_product_view/iterator/operator*