Navigation:
Up
,
Table of Contents
,
Package Overview
,
Bibliography
,
Index
,
Title Page
,
Acknowledging CGAL
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 Concepts
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:
Up
,
Table of Contents
,
Package Overview
,
Bibliography
,
Index
,
Title Page
,
Acknowledging CGAL
CGAL Open Source Project
. Release 3.3.1. 25 August 2007.