Return the partition point of Range under predicate P.
Declared in <llvm/ADT/STLExtras.h>
template<
typename R,
typename Predicate,
typename Val = decltype(*adl_begin(std::declval<R>()))>
auto
partition_point(
R&& Range,
Predicate P);
Requires that P is always true below some limit, and always false above it.
Iterator to the partition point of Range under P.
| Name | Description |
|---|---|
| Range | Partitioned range to search. |
| P | Unary predicate defining the partition. |