#include <functors.hpp>
Public Member Functions | |
functor_to_comparator (Functor f, Compare c=Compare()) | |
constructor More... | |
template<typename T > | |
auto | operator() (const T &left, const T &right) const -> decltype(std::declval< Compare >()(std::declval< Functor >()(left), std::declval< Functor >()(right))) |
operator() More... | |
This comparator takes functor "f" and comparator "c" and for elements(x,y) returns c(f(x), f(y)) c is less by default
Definition at line 613 of file functors.hpp.
|
inline |
|
inline |
operator()
T |
left | |
right |
Definition at line 632 of file functors.hpp.