\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12 - STL Extensions for CGAL
CGAL::cpp11::function< R, Args > Class Template Reference

#include <CGAL/function.h>


An object of the class cpp11::function is a general-purpose polymorphic function wrapper.

There is actually no class in namespace CGAL::cpp11 with this name, but a using declaration which imports a class from another namespace. By order of priority: the one in namespace std is used (provided by C++0x), if not found, then the one in namespace boost is used.

Please refer to the C++ manual for the documentation of this class.


The parameter R is the return type. The parameters Args are the parameters of the function.