![]() |
As an example, consider a binary functor and two functors and , with arity three and two, respectively. Composing and into yields a new functor
with arity five.
#include <CGAL/functional.h>
|
| ||||
|
|
|
returns the functor
f0(f1()) with the same arity as f1.
| ||
|
| ||||
|
| ||||
|
|
returns the functor
f0(f1(),f2()) with arity equal
to .
| |||
|
| ||||
|
| ||||
|
| ||||
returns the functor
f0(f1(),f2(),f3())
with arity equal to .
| ||||