CGAL::set_arity_1

Definition

The function set_arity_1 is used to set the arity of a functor to one. The result is a functor that takes one argument and calls the original functor with this argument.

#include <CGAL/functional.h>

template < class F >
Set_arity< F, 1 >::Type set_arity_1 ( F f) returns a functor equivalent to f, but which has arity one.
Requirement: F is a model for AdaptableFunctor.

See Also

CGAL::Set_arity<F,a>
CGAL::set_arity_0
CGAL::set_arity_2
CGAL::set_arity_3
CGAL::set_arity_4
CGAL::set_arity_5
AdaptableFunctor