Functor: HandleToPointer

Classes

struct  HandleToPointer< Handle, Pointer >
 A functor for converting handles to pointers. More...

Functions

template<typename Handle >
HandleToPointer< Handle > handle_to_pointer ()
 Return a HandleToPointer<Handle>.

Detailed Description


Function Documentation

template<typename Handle >
HandleToPointer<Handle> handle_to_pointer (  )  [inline]

Return a HandleToPointer<Handle>.

This is a convenience function for constructing a HandleToPointer<Handle>. Instead of writing

  ads::HandleToPointer<int*> htp;
  y = htp( x );

one can write

  y = ads::handle_to_pointer<int*>()( x );
Generated on Thu Jun 30 02:14:51 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3