\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.6 - STL Extensions for CGAL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Cast_function_object< Arg, Result > Class 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:
Projection_object

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.