CGAL::set_arity_0

Definition

The function set_arity_0 is used to set the arity of a functor to zero. The result is a functor that takes no arguments and calls the original functor with no arguments.

#include <CGAL/functional.h>

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

See Also

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