Classes | |
struct | Dereference< Handle, Result > |
A functor for dereferencing a handle. More... | |
Functions | |
template<typename Handle > | |
Dereference< Handle > | dereference () |
Return a Dereference<Handle> . |
Dereference<Handle> dereference | ( | ) | [inline] |
Return a Dereference<Handle>
.
This is a convenience function for constructing a Dereference<Handle>
. Instead of writing
ads::Dereference<int*> deref; y = deref(x);
one can write
y = ads::dereference<int*>()(x);