std::ranges::zip_transform_view<F,Views...>::iterator<Const>::operator++,--,+=,-=
来自cppreference.com
| |
(1) | (C++23 起) |
| |
(2) | (C++23 起) |
| |
(3) | (C++23 起) |
| |
(4) | (C++23 起) |
| |
(5) | (C++23 起) |
| |
(6) | (C++23 起) |
| |
(7) | (C++23 起) |
增加或减少迭代器。
令 inner_ 为底层迭代器,并令 Base 为仅用于阐释的成员类型。
等价于:
1)
++inner_; return *this;2)
++*this;3)
auto tmp = *this; ++*this; return tmp;4)
--inner_; return *this;5)
auto tmp = *this; --*this; return tmp;6)
inner_ += n; return *this;7)
inner_ -= n; return *this;参数
| n | - | 相对于当前位置的位置 |
返回值
1,4,6,7)
*this2) (无)
3,5)
*this 改动前做出的副本示例
| 本节未完成 原因:暂无示例 |