std::move_iterator<Iter>::operator[]
提供: cppreference.com
< cpp | iterator | move iterator
/*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で非推奨) |
イテレータの指す先の要素にアクセスします (パブリックメンバ関数) |