std::ranges::slide_view<V>::iterator<Const>::operator[]
cppreference.net에서 가져옴
constexpr auto operator[]( difference_type pos ) const
requires ranges::random_access_range<Base>;
|
(C++23부터) | |
지정된 상대 위치의 요소를 반환합니다.
current_와 n_를 기본 데이터 멤버라고 할 때, 다음에 해당합니다: return views::counted(current_ + pos, n_);.
매개변수
| pos | - | 현재 위치 기준 상대 위치 |
반환값
현재 위치로부터
pos
변위에 있는 요소(
value_type
타입)입니다.
예제
|
이 섹션은 불완전합니다
이유: 예제가 없음 |
참고 항목
|
(C++23)
|
요소에 접근합니다
(public member function) |