Navigation:
Up
,
Table of Contents
,
Bibliography
,
Index
,
Title Page
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
.
Next:
Project_vertex<Node>
Navigation:
Table of Contents
,
Bibliography
,
Index
,
Title Page
The
CGAL Project
. Tue, December 21, 2004 .