std::ranges::zip_view<Views...>::iterator
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Ranges library
(C++23)(C++23)
(C++26)(C++26)
(C++23)(C++23)
(C++26)(C++26)
(C++26)(C++26)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)
(C++23)(C++23)
(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
std::ranges::zip_view
Iterator
Member functions
Non-member functions
template< bool Const >
class /*iterator*/;
(exposition only*)
class /*iterator*/;
The iterator type of a possibly const-qualified zip_view
, returned by zip_view::begin
and in certain cases by zip_view::end
.
The type /*iterator*/<true> or /*iterator*/<false> treats the underlying views as const-qualified or non-const-qualified respectively.
[edit] Member types
Member type
Definition
iterator_concept
- std::random_access_iterator_tag if
all-random-access
<Const, Views...> is true, otherwise - std::bidirectional_iterator_tag if
all-bidirectional
<Const, Views...> is true, otherwise - std::forward_iterator_tag if
all-forward
<Const, Views...> is true, otherwise - std::input_iterator_tag .
iterator_category
(conditionally present)
- std::input_iterator_tag if
all-forward
<Const, Views...> is true, - not defined otherwise.
value_type
- std::tuple <ranges::range_value_t <Views>...> if
Const
is false, - std::tuple <ranges::range_value_t <const Views>...> otherwise.
difference_type
- std::common_type_t <ranges::range_difference_t <Views>...> if
Const
is false, - std::common_type_t <ranges::range_difference_t <const Views>...> otherwise.
[edit] Data members
Member name
Definition
current_
(private)
- std::tuple <ranges::iterator_t <Views>...> if
Const
is false, or - std::tuple <ranges::iterator_t <const Views>...> otherwise.
(exposition-only member object*)
[edit] Member functions
obtains a tuple-like value that consists of underlying pointed-to elements
(public member function)
(public member function)
obtains a tuple-like value that consists of underlying elements at given offset
(public member function)
(public member function)
[edit] Non-member functions
compares the underlying iterators
(function)
(function)
(C++23)
(function)
[edit] Example
This section is incomplete
Reason: no example
Reason: no example