CGAL::set_arity_2

Definition

The function set_arity_2 is used to set the arity of a functor to two. The result is a functor that takes two arguments and calls the original functor with these arguments.

#include <CGAL/functional.h>

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

See Also

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