On this page
std::ranges::join_view<V>::iterator
|
(since C++20) (exposition only*) |
The return type of join_view::begin, and of join_view::end when both the outer range V and the inner range ranges::range_reference_t<V> satisfy common_range and the parent join_view is a forward_range.
If V is not a simple view (e.g. if ranges::iterator_t<const V> is invalid or different from ranges::iterator_t<V>), Const is true for iterators returned from the const overloads, and false otherwise. If V is a simple view, Const is true if and only if ranges::range_reference_t<V> is a reference.
Member types
| Member type | Definition |
|---|---|
Parent |
const join_view<V> if Const is true, otherwise join_view<V>(exposition-only member type*) |
Base |
const V if Const is true, otherwise V(exposition-only member type*) |
OuterIter |
ranges::iterator_t<Base>(exposition-only member type*) |
InnerIter |
ranges::iterator_t<ranges::range_reference_t<Base>>(exposition-only member type*) |
iterator_concept |
|
iterator_category |
Defined only if iterator::iterator_concept (see above) denotes std::forward_iterator_tag.Let
|
value_type |
ranges::range_value_t<ranges::range_reference_t<Base>> |
difference_type |
|
Member objects
| Member name | Definition |
|---|---|
outer_ (private) |
An object of type OuterIter(exposition-only member object*) |
inner_ (private) |
An object of type InnerIter(exposition-only member object*) |
parent_ (private) |
An object of type Parent(exposition-only member object*) |
Member functions
|
(C++20)
|
constructs an iterator (public member function) |
|
(C++20)
|
accesses the element (public member function) |
|
(C++20)
|
advances or decrements the underlying iterators (public member function) |
|
(C++20)
|
skips over empty inner ranges (exposition-only member function*) |
Non-member functions
|
(C++20)
|
compares the underlying iterators (function) |
|
(C++20)
|
casts the result of dereferencing the underlying iterator to its associated rvalue reference type (function) |
|
(C++20)
|
swaps the objects pointed to by two underlying iterators (function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/join_view/iterator