std::ranges::concat_view<뷰...>::iterator<Const>::operator++,--,+=,-=
cppreference.net에서
constexpr /*iterator*/& operator++();
|
(1) | (since C++26) |
constexpr void operator++( int );
|
(2) | (since C++26) |
constexpr /*iterator*/ operator++( int )
requires /*all-forward*/<Const, Views...>;
|
(3) | (since C++26) |
constexpr /*iterator*/& operator--()
requires /*concat-is-bidirectional*/<Const, Views...>;
|
(4) | (since C++26) |
constexpr /*iterator*/ operator--( int )
requires /*concat-is-bidirectional*/<Const, Views...>;
|
(5) | (since C++26) |
constexpr /*iterator*/& operator+=( difference_type n )
requires /*concat-is-random-access*/<Const, Views...>;
|
(6) | (since C++26) |
constexpr /*iterator*/& operator-=( difference_type n )
requires /*concat-is-random-access*/<Const, Views...>;
|
(7) | (since C++26) |
를 증가시키거나 감소시킵니다. iterator.
| 오버로드 | 다음과 동일 ( 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 | - | 현재 위치 기준 상대 위치 |
반환값
위에서 설명한 바와 같습니다.
예제
|
이 섹션은 불완전합니다
이유: 예제가 없음 |