Scroll to navigation

std::ranges::join_view::sentinel::sentinel(3) C++ Standard Libary std::ranges::join_view::sentinel::sentinel(3)

NAME

std::ranges::join_view::sentinel::sentinel - std::ranges::join_view::sentinel::sentinel

Synopsis

/*sentinel*/() = default; (1) (since C++20) constexpr explicit /*sentinel*/( Parent& parent ); (2) (since C++20) constexpr /*sentinel*/( /*sentinel*/<!Const> i )

requires Const && (3) (since C++20)

std::convertible_to<ranges::sentinel_t<V>, ranges::sentinel_t<Base>>;

Constructs a sentinel.

1) Default constructor. Value-initializes the underlying sentinel. 2) Initializes the underlying sentinel end_ with ranges::end(parent.base_). 3) Conversion from /*sentinel*/<false> to /*sentinel*/<true>. Move constructs the underlying sentinel end_ with std::move(i.end_).

Parameters

parent - a (possibly const-qualified) ranges::join_view i - a /*sentinel*/<false>

Example


This section is incomplete
Reason: no example

2026.11.10 http://cppreference.com