Navigation:
Up
,
Table of Contents
,
Bibliography
,
Index
,
Title Page
CGAL::Identity<Value>
Definition
The class
Identity
<Value>
represents the identity function on
Value
.
#include <
CGAL/function_objects.h
>
Is Model for the Concept
Projection_object
Identity
<Value>::argument_type
typedef to
Value
.
Identity
<Value>::result_type
typedef to
Value
.
Creation
Identity
<Value> o;
default constructor.
Operations
result_type&
o.operator() ( argument_type& x) const
returns
x
.
const result_type&
o.operator() ( const argument_type& x) const
returns
x
.
Next:
Dereference<Value>
Navigation:
Table of Contents
,
Bibliography
,
Index
,
Title Page
The
CGAL Project
. Tue, December 21, 2004 .