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> . |
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 );