ptrutils.h File Reference
Provides function objects for use in the Standard Template Library that take pointers as arguments but work with the pointees instead.
More...
|
Namespaces |
| namespace | regina |
Classes |
| class | regina::LessDeref< T, Comp > |
| | An adaptable binary function used to compare the objects to which pointers are pointing. More...
|
Functions |
| template<typename T> |
| T * | regina::clonePtr (T *cloneMe) |
| | A simple routine for cloning an object if and only if it exists.
|
| template<typename T> |
| T * | regina::clonePtr (const std::auto_ptr< T > &cloneMe) |
| | A simple routine for cloning an object if and only if it exists.
|
Detailed Description
Provides function objects for use in the Standard Template Library that take pointers as arguments but work with the pointees instead.