Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

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

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

NotebookLM
constexpr auto operator*() const;
(since C++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:
snippet.cpp
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

This section is incomplete
Reason: no example

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.