Functor: Address

Classes

struct  Address< Object >
 A functor for taking the address of an object. More...

Functions

template<typename Object >
Address< Object > address ()
 Return an Address<Object>.

Detailed Description


Function Documentation

template<typename Object >
Address<Object> address (  )  [inline]

Return an Address<Object>.

This is a convenience function for constructing an Address<Object>. Instead of writing

  ads::Address<int> add;
  y = add( x );

one can write

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