indirectly_binary_predicate

indirectly_binary_predicate (간접 이항 술어 개념)

std::indirectly_binary_predicate는 두 반복자의 값을 비교하는 이항 술어의 개념이에요. C++20에서 추가됐어요.

출처: cppreference

본문

std::indirectly_binary_predicateP를 두 위치의 값으로 호출해 bool 판정할 수 있는지를 나타내요.

template< class F, class I1, class I2 = I1 >
concept indirectly_binary_predicate = ...;

정렬·탐색 알고리즘의 비교자에 사용돼요.

더 알아보기 (Learn more)

cppreference