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 Class

标准模板库