Namespaces
Variants
Views
Actions

std::ranges::join_view<V>::iterator<Const>::operator*,->

From cppreference.com
< cpp‎ | ranges‎ | join 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;
(1) (since C++20)
constexpr InnerIter operator->() const
  requires /*has-arrow*/<InnerIter> && std::copyable<InnerIter>;
(2) (since C++20)

Returns the element the underlying iterator inner_ points to.

1) Equivalent to return *inner_;.
2) Equivalent to return inner_;.

[edit] Parameters

(none)

[edit] Return value

The current element.

[edit] Example