A functor for converting handles to pointers. More...
#include <HandleToPointer.h>
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. |
A functor for converting handles to pointers.
Handle | is the handle type. | |
Result | is the pointer type. By default it is std::iterator_traits<Handle>::pointer . |