CGAL 6.1.1 - STL Extensions for CGAL

Loading...
Searching...
No Matches
List of all members
CGAL::Compare_to_less< F > Class Template Reference
Reference Manual » Projection Function Objects

`#include <CGAL/function_objects.h>`

## Definition

template<typename F>
class CGAL::Compare_to_less< F >

The class `Compare_to_less` is used to convert a functor which returns a `Comparison_result` to a predicate (returning bool) : it will return true iff the return value of `F` is `SMALLER`.

The class is used in conjunction with the `compare_to_less` function; see there for an explanation on how exactly the functors are combined.

See also
  `CGAL::compare_to_less()`

## Types
typedef unspecified_type | Type
| type of the composed functor.