std::ranges::elements_view<V,F>::iterator<Const>::operator*
From cppreference.com
< cpp | ranges | elements view | iterator
constexpr decltype(auto) operator*() const; |
(since C++20) | |
Returns the element into V
the underlying iterator points to.
Effectively returns /*get-element*/(this->base()), where for an expression e, /*get-element*/(e) is
- std::get<N>(*e), if ranges::range_reference_t<Base> is a reference type,
- otherwise, static_cast<E>(std::get<N>(*e)), where
E
is std::remove_cv_t<std::tuple_element_t<N, ranges::range_reference_t<Base>>>.
Contents |
[edit] Parameters
(none)
[edit] Return value
The current element.
[edit] Notes
operator->
is not provided.
[edit] Example
This section is incomplete Reason: no example |