FunctionObjectClass

CGAL::Get_address<Value>

Definition

The class Get_address<Value> gets the address of an lvalue (operator&).

#include <CGAL/function_objects.h>

Is Model for the Concepts

Projection_object

Get_address<Value>::argument_type
typedef to Value.


Get_address<Value>::result_type
typedef to Value*.

Creation

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