std::ranges::iota_view<W, Bound>::sentinel
struct /*sentinel*/;
|
(説明専用*) | |
ranges::iota_view<W, Bound>::sentinel は、end() が ranges::iota_view<W, Bound> に対して返す到達可能な番兵の型です。
データメンバ
| メンバー | 定義 |
Bound
bound_
|
センチネル値
( 説明専用メンバーオブジェクト* ) |
メンバー関数
std::ranges::iota_view:: sentinel :: sentinel
|
/*sentinel*/
(
)
=
default
;
|
(1) | (C++20以降) |
|
constexpr
explicit
/*sentinel*/
(
Bound bound
)
;
|
(2) | (C++20以降) |
bound_
を値初期化します。
非メンバー関数
operator== (std::ranges::iota_view:: iterator , std::ranges::iota_view:: sentinel )
|
friend
constexpr
bool
operator
==
(
const
/*iterator*/
&
x,
const /*sentinel*/ & y ) ; |
(C++20以降) | |
!= 演算子は operator== から
合成されます
。
この関数は通常の 非修飾名探索 または 修飾名探索 では可視化されず、 sentinel が引数の関連クラスである場合にのみ 実引数依存名前探索 によって発見されます。
operator- (std::ranges::iota_view:: iterator , std::ranges::iota_view:: sentinel )
|
friend
constexpr
std::
iter_difference_t
<
W
>
operator
-
(
const
/*iterator*/
&
x,
const
/*sentinel*/
&
y
)
|
(1) | (since C++20) |
|
friend
constexpr
std::
iter_difference_t
<
W
>
operator
-
(
const
/*sentinel*/
&
x,
const
/*iterator*/
&
y
)
|
(2) | (since C++20) |
x.value_ - y.bound_ を返します。
-(y.value_ - x.bound_) を返します。
これらの関数は通常の 非修飾名探索 または 修飾名探索 では可視化されず、 sentinel が引数の関連クラスである場合にのみ 実引数依存探索 によって発見されます。
例
|
このセクションは不完全です
理由: 例がありません |