std::ranges::concat_view<Views...>::iterator<Const>::operator++,--,+=,-=
来自cppreference.com
| |
(1) | (C++26 起) |
| |
(2) | (C++26 起) |
| |
(3) | (C++26 起) |
| |
(4) | (C++26 起) |
| |
(5) | (C++26 起) |
| |
(6) | (C++26 起) |
| |
(7) | (C++26 起) |
增加或减少迭代器。
| 重载 | 等价于 (设 I 为 it_ .index())
|
|---|---|
| (1) | ++get-iter <I>(); satisfy <I>(); return *this;
|
| (2) | ++*this;
|
| (3) | auto tmp = *this; ++*this; return tmp;
|
| (4) | prev <I>(); return *this;
|
| (5) | auto tmp = *this; --*this; return tmp;
|
| (6) |
|
| (7) | *this += -n; return *this;
|
如果 it_ .valueless_by_exception() 是 true,那么行为未定义。
参数
| n | - | 相对于当前位置的位置 |
返回值
如上所述。
示例
| 本节未完成 原因:暂无示例 |