std::ranges::zip_view<Views...>::iterator<Const>::operator*

From cppreference.com
< cpp‎ | ranges‎ | zip view‎ | iterator
 
 
Ranges library
Range access
Range conversions
(哋它亢++23)(哋它亢++23)
(哋它亢++23)

Range primitives
(哋它亢++23)(哋它亢++23)    
(哋它亢++23)



Dangling iterator handling
Range concepts
Views

Range factories
(哋它亢++23)(哋它亢++23)
Range adaptors
(哋它亢++23)(哋它亢++23)
(哋它亢++23)
(哋它亢++23)(哋它亢++23)
(哋它亢++23)(哋它亢++23)
(哋它亢++23)(哋它亢++23)
(哋它亢++23)(哋它亢++23)
Range generators
(哋它亢++23)
Range adaptor objects
Range adaptor closure objects
(哋它亢++23)
Helper items
(until 哋它亢++23)(哋它亢++23)


 
 
constexpr auto operator*() const;
(since 哋它亢++23)

Returns a std::tuple that consists of underlying pointed-to elements.

Let current_ denote the underlying tuple-like object that holds iterators to elements of adapted views. Equivalent to:

return /*tuple-transform*/([](auto& i) -> decltype(auto) { return *i; }, current_);

Parameters

(none)

Return value

The current tuple-like element.

Notes

operator-> is not provided.

Example