## CGAL::Cast_function_object<Arg, Result>

### Definition

The class Cast_function_object<Arg, Result> applies a C-style type cast to its argument.

#include <CGAL/function_objects.h>

### Is Model for the Concept

Projection_object

Cast_function_object<Arg, Result>::argument_type
| typedef to Arg.
Cast_function_object<Arg, Result>::result_type
| typedef to Result.

### Creation

Cast_function_object<Arg, Result> o;
| default constructor.

### Operations

result_type& | o.operator() ( argument_type& x) const
|  | returns (Result)x.
const result_type& | o.operator() ( const argument_type& x) const
|  | returns (Result)x.