CGAL 6.0.1 - STL Extensions for CGAL
Loading...
Searching...
No Matches
CGAL::Creator_1< Arg, Result > Class Template Reference

#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
Argmust 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).