std::ranges::iota_view<W, Bound>::sentinel
From cppreference.com
struct /*sentinel*/; |
(説明用*) | |
ranges::iota_view<W, Bound>::sentinel は、ranges::iota_view<W, Bound> の end() によって返される到達可能なセンチネルの型です。
目次 |
[編集] データメンバ
| メンバ | 定義 |
Bound bound_ |
センチネル値 (説明用のメンバオブジェクト*) |
[編集] メンバ関数
std::ranges::iota_view::sentinel::sentinel
| /*sentinel*/() = default; |
(1) | (C++20以降) |
| constexpr explicit /*sentinel*/( Bound bound ); |
(2) | (C++20以降) |
1)
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) | (C++20以降) |
| friend constexpr std::iter_difference_t<W> operator-(const /*sentinel*/& x, const /*iterator*/& y) |
(2) | (C++20以降) |
これらの関数は、通常の 修飾なし または 修飾あり の名前探索では見えず、sentinel が引数に関連付けられたクラスである場合にのみ、引数依存の名前探索 で見つけることができます。
[編集] 例
| このセクションは未完成です 理由: 例がありません |