Common key-functions to use with sort_by/unque_by/group_all_by. More...
Classes | |
struct | dereferenced |
struct | first |
struct | get |
e.g. for tuples or pairs, fn::group_adjacent_by(fn::by::get<string>{}) More... | |
struct | identity |
struct | second |
Functions | |
template<typename T > | |
impl::gt< T > | decreasing (T x) |
Wraps the passed value and exposes inverted operator<. More... | |
template<typename T > | |
impl::gt< const T & > | decreasing (std::reference_wrapper< T > x) |
template<typename F > | |
impl::comp< F > | make_comp (F key_fn) |
Make binary comparison predicate from a key-function. More... | |
Common key-functions to use with sort_by/unque_by/group_all_by.
impl::gt<T> rangeless::fn::by::decreasing | ( | T | x | ) |
Wraps the passed value and exposes inverted operator<.
impl::gt<const T&> rangeless::fn::by::decreasing | ( | std::reference_wrapper< T > | x | ) |
impl::comp<F> rangeless::fn::by::make_comp | ( | F | key_fn | ) |