std::move_iterator<Iter>::operator[]
提供: cppreference.com
/*unspecified*/ operator[]( difference_type n ) const; |
(C++11以上) (C++17未満) |
|
constexpr /*unspecified*/ operator[]( difference_type n ) const; |
(C++17以上) | |
指定された相対位置の要素を指す参照を返します。
引数
| n | - | 現在の位置からの相対位置 |
戻り値
相対位置の要素を指す右辺値参照、つまり、 std::move(base()[n])。
例
| This section is incomplete Reason: no example |
関連項目
(C++20で非推奨) |
イテレータの指す先の要素にアクセスします (パブリックメンバ関数) |