CGAL::Dereference<Value>

Definition

The class Dereference<Value> dereferences a pointer (operator*).

#include <CGAL/function_objects.h>

Is Model for the Concept

Projection_object

Dereference<Value>::argument_type
typedef to Value*.


Dereference<Value>::result_type
typedef to Value.

Creation

Dereference<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.