CGAL 5.1 - STL Extensions for CGAL
CGAL::Creator_3< Arg1, Arg2, Arg3, Result > Class Template Reference

#include <CGAL/function_objects.h>

Definition

template<typename Arg1, typename Arg2, typename Arg3, typename Result>
class CGAL::Creator_3< Arg1, Arg2, Arg3, Result >

The class Creator_3 defines types and operations for creating objects from three arguments.

Template Parameters
Resultmust define a corresponding constructor.

Requirements

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

Member Typedef Documentation

◆ argument1_type

template<typename Arg1 , typename Arg2 , typename Arg3 , typename Result >
typedef Arg1 CGAL::Creator_3< Arg1, Arg2, Arg3, Result >::argument1_type

type of first argument.

◆ argument2_type

template<typename Arg1 , typename Arg2 , typename Arg3 , typename Result >
typedef Arg2 CGAL::Creator_3< Arg1, Arg2, Arg3, Result >::argument2_type

type of second argument.

◆ argument3_type

template<typename Arg1 , typename Arg2 , typename Arg3 , typename Result >
typedef Arg3 CGAL::Creator_3< Arg1, Arg2, Arg3, Result >::argument3_type

type of third argument.

◆ result_type

template<typename Arg1 , typename Arg2 , typename Arg3 , typename Result >
typedef Result CGAL::Creator_3< Arg1, Arg2, Arg3, Result >::result_type

type of object to create.

Member Function Documentation

◆ operator()()

template<typename Arg1 , typename Arg2 , typename Arg3 , typename Result >
result_type CGAL::Creator_3< Arg1, Arg2, Arg3, Result >::operator() ( argument_type1  a1,
argument_type2  a2,
argument_type3  a3 
) const

returns result_type(a1, a2, a3).