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