vtf-logo

Functor: HandleToPointer


Classes

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

Functions

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

Function Documentation

template<typename Handle>
HandleToPointer<Handle> ads::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 Fri Aug 24 12:55:37 2007 for Algorithms and Data Structures Package by  doxygen 1.4.7