iter_move (std::basic_const_iterator<Iter>)
| Iterator concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator primitives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Algorithm concepts and utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Indirect callable concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Common algorithm requirements | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Non-member functions | ||||
|
(C++23)
(C++23)
(C++23)
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
iter_move
(std::basic_const_iterator)
(C++23)
|
||||
| Helper classes | ||||
|
friend
constexpr
/*rvalue-reference*/
iter_move ( const basic_const_iterator & i ) noexcept ( /* 下記参照 */ ) ; |
(C++23以降) | |
基盤となるイテレータのデリファレンス結果を、関連付けられたconst右辺値参照型にキャストします。
戻り値の型 /*rvalue-reference*/ は std:: common_reference_t < const std:: iter_value_t < Iter > && , std:: iter_rvalue_reference_t < Iter >> です。
この関数の本体は以下と等価です:
return
static_cast
<
/*rvalue-reference*/
>
(
std
::
ranges::
iter_move
(
i.
base
(
)
)
)
;
。
この関数は通常の unqualified lookup または qualified lookup では可視化されず、 argument-dependent lookup によってのみ発見され、その際 std:: basic_const_iterator < Iter > が引数の関連クラスである場合に限られます。
目次 |
パラメータ
| i | - |
a
basic_const_iterator
|
戻り値
const への右辺値参照、または純粋右辺値。
例外
例
|
このセクションは不完全です
理由: 例がありません |
関連項目
|
(C++20)
|
オブジェクトをデリファレンスした結果を、関連付けられた右辺値参照型にキャストする
(カスタマイゼーションポイントオブジェクト) |