std::move_sentinel<S>::move_sentinel
提供: cppreference.com
<tbody>
</tbody>
constexpr move_sentinel(); |
(1) | (C++20以上) |
constexpr explicit move_sentinel( S x ); |
(2) | (C++20以上) |
template< class S2 > requires std::convertible_to<const S2&, S> constexpr move_sentinel(const std::move_sentinel<S2>& other); |
(3) | (C++20以上) |
新しい番兵アダプタを構築します。
1) デフォルトコンストラクタ。 ベースとなる番兵は値初期化されます。
2) ベースとなる番兵は
x で初期化されます。3) ベースとなる番兵は
other のそれで初期化されます。引数
| x | - | 適合させる番兵 |
| other | - | コピーする番兵アダプタ |
例
| This section is incomplete Reason: no example |
関連項目
| 新しいイテレータアダプタを構築します ( std::move_iterator<Iter>のパブリックメンバ関数)
|