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