| /*sentinel*/() = default; |
(1) | (since C++23) |
| constexpr /*sentinel*/( /*sentinel*/<!Const> i ) requires Const && std::convertible_to</*zentinel*/<false>, /*zentinel*/<Const>>; |
(2) | (since C++23) |
| constexpr explicit /*sentinel*/( /*zentinel*/<Const> inner ); |
(3) | (exposition only*) |
Constructs a sentinel.
2) Conversion from
/*sentinel*/<false> to /*sentinel*/<true>. Move constructs the underlying object inner_ with std::move(i.inner_).3) Value-initializes the underlying object
inner_ with inner. This constructor is not accessible to users.Parameters
| i | - | a /*sentinel*/<false>
|
| inner | - | an underlying object of type zentinel<Const>
|
Example
This section is incomplete
Reason: no example
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.