CGAL 5.1 - STL Extensions for CGAL
|
#include <CGAL/function_objects.h>
The class Identity
represents the identity function on Value
.
Public Types | |
typedef Value | argument_type |
typedef Value | result_type |
Creation | |
Identity () | |
default constructor. More... | |
Operations | |
result_type & | operator() (argument_type &x) const |
returns x . More... | |
const result_type & | operator() (const argument_type &x) const |
returns x . More... | |
typedef Value CGAL::Identity< Value >::argument_type |
typedef Value CGAL::Identity< Value >::result_type |
CGAL::Identity< Value >::Identity | ( | ) |
default constructor.
result_type& CGAL::Identity< Value >::operator() | ( | argument_type & | x | ) | const |
returns x
.
const result_type& CGAL::Identity< Value >::operator() | ( | const argument_type & | x | ) | const |
returns x
.