checked_array_iterator::operator-

向迭代器的增加偏移并返回 checked_array_iterator 在新的偏移位置插入元素的新地址。

checked_array_iterator<_Iterator> operator-(
    difference_type _Off
) const;
difference_type operator-(
    const checked_array_iterator& _Right
) const;

参数

  • _Off
    checked_array_iterator将递减的偏移量。

返回值

解决偏移元素的 checked_array_iterator

备注

的代码示例。参见 checked_array_iterator::operator-

有关详细信息,请参阅经过检查的迭代器

要求

头文件: <iterator>

命名空间: std

请参见

参考

checked_array_iterator 类

标准模板库