\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.13 - STL Extensions for CGAL
CGAL::Identity< Value > Struct Template Reference

#include <CGAL/function_objects.h>

Definition

The class Identity represents the identity function on Value.

Is Model Of:
ProjectionObject

Public Types

typedef Value argument_type
 
typedef Value result_type
 

Creation

 Identity ()
 default constructor.
 

Operations

result_typeoperator() (argument_type &x) const
 returns x.
 
const result_typeoperator() (const argument_type &x) const
 returns x.