operator+(std::move_iterator)
提供: cppreference.com
<tbody>
</tbody>
template< class Iter > move_iterator<Iter> operator+( typename move_iterator<Iter>::difference_type n, const move_iterator<Iter>& it ); |
(C++17未満) | |
template< class Iter > constexpr move_iterator<Iter> operator+( typename move_iterator<Iter>::difference_type n, const move_iterator<Iter>& it ); |
(C++17以上) | |
n 回インクリメントされたイテレータ it を返します。
引数
| n | - | イテレータをインクリメントする回数 |
| it | - | インクリメントするイテレータアダプタ |
戻り値
インクリメントされたイテレータ、すなわち move_iterator<Iter>(it.base() + n)。
例
| This section is incomplete Reason: no example |
関連項目
| イテレータをインクリメントもしくはデクリメントします (パブリックメンバ関数) |