CGAL 6.1 - STL Extensions for CGAL

Loading...
Searching...
No Matches
List of all members | Public Types
CGAL::Dereference< Value > Struct Template Reference
Reference Manual » Projection Function Objects

`#include <CGAL/function_objects.h>`

## Definition

template<typename Value>
struct CGAL::Dereference< Value >

The class `Dereference` dereferences a pointer (`operator*`).

Is model of
  `ProjectionObject`

## Public Types
typedef Value * | argument_type
typedef Value | result_type

## Creation
| Dereference ()
| default constructor.

## Operations
result_type & | operator() (argument_type &x) const
| returns `*x`.
const result_type & | operator() (const argument_type &x) const
| returns `*x`.