◐ Shell
clean mode source ↗

std::move_sentinel - cppreference.com

提供: cppreference.com

<tbody> </tbody>

template< std::semiregular S > class move_sentinel;

(C++20以上)

std::move_sentinelstd::move_iterator と共に範囲を表すために使用される番兵アダプタです。

テンプレート引数

メンバ関数

新しい move_sentinel を構築します
(パブリックメンバ関数)
move_sentinel の内容を別の move_sentinel に代入します
(パブリックメンバ関数)
ベースとなる番兵のコピーを返します
(パブリックメンバ関数)

メンバオブジェクト

メンバ名 定義
last (プライベートメンバオブジェクト) ベースとなる番兵。 この名前は説明専用です。

非メンバ関数

ノート: これらの関数は、通常の非修飾名または修飾名の名前探索に対して可視ではなく、 std::move_iterator<Iter> または std::move_sentinel<S> が引数の関連クラスであるときの実引数依存の名前探索 によってのみ発見できます。

関連項目