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