次の方法で共有


move_iterator::operator++

現在の要素を postincrement の演算子によってこのアクセス move_iterator. に属する格納されている反復子をインクリメントします。次の要素は preincrement の演算子によってアクセスします。

move_iterator& operator++();
move_iterator operator++(int);

プロパティ値/戻り値

演算子の preincrement のバージョンは *this を返します。

演算子の postincrement のバージョンは演算子を ++*this を評価する前に *this 項目のコピーを返します。

解説

最初の preincrement () 演算子は格納されている反復子をインクリメントします。次 *this を返します。

2 番目の postincrement () 演算子は *this のコピーを評価します ++*this を作成します。次にコピーを返します。

必要条件

ヘッダー : <iterator>

名前空間: std

参照

関連項目

move_iterator Class

<iterator>

標準テンプレート ライブラリ

その他の技術情報

move_iterator のメンバー

<iterator> メンバー