std::ranges::join_with_view<V,Pattern>::end
constexpr auto end(); |
(1) | (since C++23) |
|
constexpr
auto end(
)
const
requires ranges::forward_range
<
const V>
&&
|
(2) | (since C++23) |
Returns an iterator or a sentinel that compares equal to the past-the-end iterator of the join_with_view
- If all following conditions are satisfied, returns an iterator:
-
Vmodelsforward_rangeandcommon_range.-
std::is_reference_v<
InnerRng> is true -
InnerRngmodelsforward_rangeandcommon_range
- Otherwise, returns a sentinel.
- If all following conditions are satisfied, returns an iterator:
-
- const V models
common_range. -
ranges::range_reference_t
<
const V>
models
forward_rangeandcommon_range
- const V models
- Otherwise, returns a sentinel.
Return value
| Overload | Return value | |
|---|---|---|
| Iterator | Sentinel | |
| (1) |
iterator <
simple-view <V> &&
simple-view <Pattern>>
{*this, ranges::end(
base_
)}
|
sentinel <
simple-view <V> &&
simple-view <Pattern>>
{*this}
|
| (2) |
iterator
<
true
>
{
*this, ranges::end
(
base_
)}
|
sentinel <true>{*this}
|
Example
| This section is incomplete Reason: no example |
See also
| returns an iterator to the beginning (public member function) |
|
|
(C++20)
|
returns a sentinel indicating the end of a range (customization point object) |