std::ranges::elements_view<V,F>::iterator<Const>::operator*

From cppreference.com
< cpp‎ | ranges‎ | elements view‎ | iterator
 
 
Ranges library
Range access
Range conversions
(C++23)
Range primitives



Dangling iterator handling
Range concepts
Views

Factories






Adaptors
Range adaptor objects
Range adaptor closure objects
Helper items
 
 
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

Parameters

(none)

Return value

The current element.

Notes

operator-> is not provided.

Example