HandleToPointer< Handle, Pointer > Struct Template Reference
[Functor: HandleToPointer]

A functor for converting handles to pointers. More...

#include <HandleToPointer.h>

List of all members.

Public Types

typedef std::unary_function
< Handle, Pointer > 
base_type
 The base functor.
typedef base_type::argument_type argument_type
 The argument type is the handle.
typedef base_type::result_type result_type
 The result type is the pointer.

Public Member Functions

result_type operator() (argument_type x) const
 Convert the handle to a pointer.

Detailed Description

template<typename Handle, typename Pointer = typename std::iterator_traits<Handle>::pointer>
struct HandleToPointer< Handle, Pointer >

A functor for converting handles to pointers.

Parameters:
Handle is the handle type.
Result is the pointer type. By default it is std::iterator_traits<Handle>::pointer.

The documentation for this struct was generated from the following file:
Generated on Thu Jun 30 02:14:51 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3