CGAL 5.1 - STL Extensions for CGAL
CGAL::Creator_uniform_2< Arg, Result > Class Template Reference

#include <CGAL/function_objects.h>

Definition

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

The class Creator_uniform_2 defines types and operations for creating objects from two arguments of the same type.

Template Parameters
Resultmust define a constructor from two Arg arguments.

Requirements

typedef Arge argument_type
 type of arguments. More...
 
typedef Result result_type
 type of object to create. More...
 
result_type operator() (argument_type a1, argument_type a2) const
 returns result_type(a1, a2). More...
 

Member Typedef Documentation

◆ argument_type

template<typename Arg , typename Result >
typedef Arge CGAL::Creator_uniform_2< Arg, Result >::argument_type

type of arguments.

◆ result_type

template<typename Arg , typename Result >
typedef Result CGAL::Creator_uniform_2< Arg, Result >::result_type

type of object to create.

Member Function Documentation

◆ operator()()

template<typename Arg , typename Result >
result_type CGAL::Creator_uniform_2< Arg, Result >::operator() ( argument_type  a1,
argument_type  a2 
) const

returns result_type(a1, a2).