std::ranges::join_view<V>::iterator<Const>::operator*,->
constexpr decltype(auto) operator*() const; | (1) | (начиная с C++20) |
constexpr InnerIter operator->() const
requires /*has-arrow*/<InnerIter> && std::copyable<InnerIter>;
| (2) | (начиная с C++20) |
Возвращает элемент, на который указывает inner_ базового итератора.
1) Эквивалентно
return *inner_;.
2) Эквивалентно
return inner_;.Параметры
(нет)
Возвращаемое значение
Текущий элемент.
Пример
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/ranges/join_view/iterator/operator*