Namespaces
Variants

iter_move (ranges::concat_view:: iterator )

From cppreference.net
Ranges library
Range adaptors
friend constexpr decltype ( auto )
iter_move ( const /*iterator*/ & it ) noexcept ( /* 説明を参照 */ ) ;
(C++26以降)
翻訳内容: - `/* see description */` → `/* 説明を参照 */` - `(since C++26)` → `(C++26以降)` C++のキーワード(`friend`, `constexpr`, `decltype`, `auto`, `iter_move`, `const`, `noexcept`など)、HTMLタグ、属性、コードブロック内のテキストは翻訳せず、元のフォーマットを保持しています。

it_ に含まれる基盤となるイテレータに対して ranges::iter_move を適用した結果を返します。

Ref concat-rvalue-reference-t  < maybe-const  < Const, Views > ... > と定義する。次と等価: return std:: visit ( [ ] ( const auto & i ) - > Ref { return ranges:: iter_move ( i ) ; } , it. it_  ) ;

it. it_ . valueless_by_exception ( ) true の場合、動作は未定義です。

この関数は通常の unqualified lookup または qualified lookup では可視化されず、 argument-dependent lookup によってのみ発見され、その際 concat_view :: iterator  < Const > が引数の関連クラスである場合に限ります。

パラメータ

it - イテレータ

戻り値

基となるイテレータに ranges::iter_move を適用した結果。

例外

noexcept 仕様:
noexcept (

( ( std:: is_nothrow_invocable_v
< decltype ( ranges:: iter_move ) ,
const ranges:: iterator_t < /*maybe-const*/ < Const, Views >> & > &&
std:: is_nothrow_convertible_v < ranges:: range_rvalue_reference_t
< /*maybe-const*/ < Const, Views >> , Ref > ) && ... )

)