move_iterator::operator+=

向存储的迭代器的偏移量,因此,存储的迭代器指向该元素在新的当前位置。运算符然后将新当前元素。

move_iterator& operator+=(
    difference_type _Off
);

参数

  • _Off
    添加的偏移量当前位置确定新的当前位置。

返回值

返回新的当前元素。

备注

运算符添加 _Off 到存储的迭代器。然后返回 *this。

要求

**标题:**iterator

命名空间: std

请参见

参考

move_iterator Class

<iterator>

标准模板库

其他资源

move_iterator 成员

iterator 成员