operator- (std::move_iterator<Iter>, std::move_sentinel)
| Iterator concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator primitives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Algorithm concepts and utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Indirect callable concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Common algorithm requirements | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Non-member functions | ||||
|
(until C++20)
(C++20)
|
||||
|
(C++20)
|
||||
|
operator-
(move_sentinel)
(C++20)
|
||||
|
(C++20)
|
||||
|
(C++20)
|
||||
|
(C++11)
|
|
template
<
std::
sized_sentinel_for
<
Iter
>
S
>
friend
constexpr
std::
iter_difference_t
<
Iter
>
|
(1) | (C++20以降) |
|
template
<
std::
sized_sentinel_for
<
Iter
>
S
>
friend
constexpr
std::
iter_difference_t
<
Iter
>
|
(2) | (C++20以降) |
move_iterator
と
move_sentinel
の間の距離を返します。
これらの関数テンプレートは通常の unqualified lookup や qualified lookup では可視化されず、引数が std:: move_iterator < Iter > を関連クラスとして持つ場合にのみ、 argument-dependent lookup によって発見されます。
目次 |
パラメータ
| i | - | std:: move_iterator < Iter > |
| s | - |
std::
move_sentinel
<
S
>
、ただし
S
は
std::
sized_sentinel_for
<
Iter
>
を満たす
|
戻り値
例
|
このセクションは不完全です
理由: 例がありません |
関連項目
|
(C++11)
|
2つのイテレータアダプタ間の距離を計算する
(関数テンプレート) |