\( \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 5.0 - STL Extensions for CGAL
CGAL::Creator_2< Arg1, Arg2, Result > Class Template Reference

#include <CGAL/function_objects.h>

Definition

The class Creator_2 defines types and operations for creating objects from two arguments.

Template Parameters
Resultmust define a corresponding constructor.

Requirements

typedef Arg1 argument1_type
 type of first argument.
 
typedef Arg2 argument2_type
 type of second argument.
 
typedef Result result_type
 type of object to create.
 
result_type operator() (argument_type1 a1, argument_type2 a2) const
 returns result_type(a1, a2).