CGAL 6.1 - Number Types
|
#include <CGAL/utils_classes.h>
The function object class Min
returns the smaller of two values.
The order is induced by the second template argument Less
. The default value for Less
is std::less
.
Note that T
must be a model of LessThanComparable
in case std::less
is used.
AdaptableFunctor
Creation | |
Min () | |
default constructor. | |
Min (Less c) | |
The constructed object will use c to compare the arguments. | |
Operations | |
T | operator() (const T &x, const T &y) |
returns the larger of x and y , with respect to the order induced by Less . | |
CGAL::Min< T, Less >::Min | ( | ) |
default constructor.
CGAL::Min< T, Less >::Min | ( | Less | c | ) |
The constructed object will use c
to compare the arguments.
T CGAL::Min< T, Less >::operator() | ( | const T & | x, |
const T & | y | ||
) |
returns the larger of x
and y
, with respect to the order induced by Less
.