CGAL 5.6.3 - STL Extensions for CGAL

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

`#include <CGAL/function_objects.h>`

## Definition

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

The class `Get_address` gets the address of an lvalue (`operator&`).

Is Model Of:
  `ProjectionObject`

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

## Creation
| Get_address ()
| default constructor.

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