CGAL 6.2 - STL Extensions for CGAL

Loading...
Searching...
No Matches
List of all members
CGAL::Creator_4< Arg1, Arg2, Arg3, Arg4, Result > Class Template Reference
Reference Manual » Creator Function Objects

`#include <CGAL/function_objects.h>`

## Definition

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

The class `Creator_4` defines types and operations for creating objects from four arguments.

Template Parameters

  Result | must define a corresponding constructor.

## Requirements
typedef Arg1 | argument1_type
| type of first argument.
typedef Arg2 | argument2_type
| type of second argument.
typedef Arg3 | argument3_type
| type of third argument.
typedef Arg4 | argument4_type
| type of 4th argument.
typedef Result | result_type
| type of object to create.
result_type | operator() (argument_type1 a1, argument_type2 a2, argument_type3 a3, argument_type4 a4) const
| returns `result_type(a1, a2, a3, a4)`.