std:: permutable
| Iterator concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator primitives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Algorithm concepts and utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Indirect callable concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Common algorithm requirements | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
헤더 파일에 정의됨
<iterator>
|
||
|
template
<
class
I
>
concept permutable
=
|
(C++20부터) | |
permutable
개념은
std::forward_iterator
를 이동과 교환을 통한 재배열 요구사항을 추가하여 정제합니다.
의미론적 요구사항
I
는 그것이 포함하는 모든 개념이 모델링된 경우에만
permutable
를 모델합니다.
참고 항목
|
(C++20)
|
시퀀스를 정렬된 시퀀스로 재배열하는 알고리즘의 공통 요구사항을 명시함
(concept) |
|
(C++20)
(C++20)
|
특정 조건을 만족하는 요소들을 제거함
(algorithm function object) |
|
(C++20)
|
범위 내에서 연속된 중복 요소들을 제거함
(algorithm function object) |
|
(C++20)
|
범위 내 요소들의 순서를 뒤집음
(algorithm function object) |
|
(C++20)
|
범위 내 요소들의 순서를 회전시킴
(algorithm function object) |
|
(C++20)
|
범위 내 요소들을 무작위로 재정렬함
(algorithm function object) |
|
(C++20)
|
요소들의 범위를 두 그룹으로 분할함
(algorithm function object) |
|
(C++20)
|
요소들의 상대적 순서를 유지하면서 두 그룹으로 분할함
(algorithm function object) |