CGAL 6.1.1 - STL Extensions for CGAL

Loading...
Searching...
No Matches
List of all members
CGAL::Creator_1< Arg, Result > Class Template Reference
Reference Manual » Creator Function Objects

`#include <CGAL/function_objects.h>`

## Definition

template<typename Arg, typename Result>
class CGAL::Creator_1< Arg, Result >

The class `Creator_1` defines types and operations for creating objects from one argument.

Template Parameters

  Arg | must be convertible to `Result`.

## Requirements
typedef Arg | argument_type
| type of argument.
typedef Result | result_type
| type of object to create.
result_type | operator() (argument_type a) const
| returns `result_type(a)`.