Navigation:
Up
,
Table of Contents
,
Short Table of Contents
,
Package Overview
,
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 Concepts
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:
Up
,
Table of Contents
,
Short Table of Contents
,
Package Overview
,
Bibliography
,
Index
,
Title Page
CGAL Open Source Project
. Release 3.2.1. 13 July 2006.