Function

CGAL::compare_to_less

Definition

The function compare_to_less is used to change a functor returning a Comparison_result to one which returns a bool. The returned functor will return true iff the original one returns SMALLER.

#include <CGAL/function_objects.h>

template < class F >
Compare_to_less< F > compare_to_less ( F f) returns a functor equivalent to f, but which returns a bool instead of a Comparison_result.

See Also

CGAL::Compare_to_less<F>