CGAL 6.2 - STL Extensions for CGAL

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

`#include <CGAL/function_objects.h>`

## Definition

template<typename Node>
struct CGAL::Project_next< Node >

The class `Project_next` calls the member function `next()` on an instance of type `Node`.

Is model of
  `ProjectionObject`

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

## Creation
| Project_next ()
| default constructor.

## Operations
result_type & | operator() (argument_type &n) const
| returns `n->next()`.
const result_type & | operator() (const argument_type &n) const
| returns `n->next()`.