CGAL 5.1 - STL Extensions for CGAL
|
#include <CGAL/function_objects.h>
The class Creator_2
defines types and operations for creating objects from two arguments.
Result | must define a corresponding constructor. |
Requirements | |
typedef Arg1 | argument1_type |
type of first argument. More... | |
typedef Arg2 | argument2_type |
type of second argument. More... | |
typedef Result | result_type |
type of object to create. More... | |
result_type | operator() (argument_type1 a1, argument_type2 a2) const |
returns result_type(a1, a2) . More... | |
typedef Arg1 CGAL::Creator_2< Arg1, Arg2, Result >::argument1_type |
type of first argument.
typedef Arg2 CGAL::Creator_2< Arg1, Arg2, Result >::argument2_type |
type of second argument.
typedef Result CGAL::Creator_2< Arg1, Arg2, Result >::result_type |
type of object to create.
result_type CGAL::Creator_2< Arg1, Arg2, Result >::operator() | ( | argument_type1 | a1, |
argument_type2 | a2 | ||
) | const |
returns result_type(a1, a2)
.