Template Struct PredBy
Defined in File predicates.hpp
Nested Relationships
Nested Types
Struct Documentation
-
template<typename Cmp>
struct PredBy Build a pivot-relative predicate from a comparator.
PredBy<Cmp>::t<Pivot, Elem>::valueiscmp<Cmp, Elem, Pivot>::value. Useful in partitioning where you compare each element to a fixed pivot.- Template Parameters:
Cmp – Comparator applied to
(Elem::size, Pivot::size).
-
template<HasStaticSize Pivot, HasStaticSize Elem>
struct t