\( \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.7 - STL Extensions for CGAL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Creator_uniform_2< Arg, Result > Class Template Reference

#include <CGAL/function_objects.h>

Definition

The class Creator_uniform_2 defines types and operations for creating objects from two arguments of the same type.

Template Parameters
Resultmust define a constructor from two Arg arguments.

Requirements

typedef Arge argument_type
 type of arguments. More...
 
typedef Result result_type
 type of object to create. More...
 
result_type operator() (argument_type a1, argument_type a2) const
 returns result_type(a1, a2). More...
 

Member Typedef Documentation

template<typename Arg , typename Result >
typedef Arge CGAL::Creator_uniform_2< Arg, Result >::argument_type

type of arguments.

template<typename Arg , typename Result >
typedef Result CGAL::Creator_uniform_2< Arg, Result >::result_type

type of object to create.

Member Function Documentation

template<typename Arg , typename Result >
result_type CGAL::Creator_uniform_2< Arg, Result >::operator() ( argument_type  a1,
argument_type  a2 
) const

returns result_type(a1, a2).