std::ranges::chunk_by_view<V,Pred>:: chunk_by_view
From cppreference.net
<
cpp
|
ranges
|
chunk by view
C++
Ranges library
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
std::ranges::chunk_by_view
| Member functions | ||||
|
chunk_by_view::chunk_by_view
|
||||
| Deduction guides | ||||
| Iterator | ||||
|
chunk_by_view
(
)
requires
std::
default_initializable
<
V
>
&&
|
(1) | (C++23 이후) |
|
constexpr
explicit
chunk_by_view
(
V base, Pred pred
)
;
|
(2) | (C++23 이후) |
chunk_by_view
를
생성합니다.
1)
기본 생성자.
값 초기화
를 통해 기본 멤버 초기화자를 이용해 내부 데이터 멤버들을 초기화합니다:
2)
기본 데이터 멤버들을 이동 생성합니다:
매개변수
| base | - | 분할할 뷰 |
| pred | - | 분할 기준으로 사용되는 함수 객체(이항 조건자) |
예제
|
이 섹션은 불완전합니다
이유: 예제 없음 |