Navigation: Up, Table of Contents, Bibliography, Index, Title Page

## 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. Requirement: F is a model for AdaptableFunctor.

### See Also

CGAL::Compare_to_less<F>
AdaptableFunctor

Next: compose

Navigation: Table of Contents, Bibliography, Index, Title Page

The CGAL Project . Tue, December 21, 2004 .