CGAL 5.2.1 - STL Extensions for CGAL
CGAL::Cast_function_object< Arg, Result > Struct Template Reference

#include <CGAL/function_objects.h>

Definition

The class Cast_function_object applies a C-style type cast to its argument.

Is Model Of:
ProjectionObject

Public Types

typedef Arg argument_type
 
typedef Result result_type
 

Creation

 Cast_function_object ()
 default constructor.
 

Operations

result_typeoperator() (argument_type &x) const
 returns (Result)x.
 
const result_typeoperator() (const argument_type &x) const
 returns (Result)x.