|
LIBINT 2.7.2
|
PtrEquiv<T> provides a set of comparison functions named 'equiv' which take as arguments a mix of references, regular pointers, and smart pointers to T and it's various expected relatives. More...
#include <equiv.h>
Public Types | |
| typedef T::parent_type | P |
| A shortcut for T::parent_type. | |
Static Public Member Functions | |
| static bool | equiv (const T &a, const T &b) |
| static bool | equiv (const SafePtr< T > &a, const SafePtr< T > &b) |
| static bool | equiv (const T *a, const SafePtr< T > &b) |
| static bool | equiv (const SafePtr< T > &b, const T *a) |
| static bool | equiv (const T *a, const T &b) |
| static bool | equiv (const SafePtr< T > &a, const SafePtr< P > &b) |
| static bool | equiv (const T *a, const SafePtr< P > &b) |
| static bool | equiv (const T *a, const SafePtr< DGVertex > &b) |
| static bool | equiv (const SafePtr< T > &a, const SafePtr< P > &b) |
| static bool | equiv (const T *a, const SafePtr< DGVertex > &b) |
PtrEquiv<T> provides a set of comparison functions named 'equiv' which take as arguments a mix of references, regular pointers, and smart pointers to T and it's various expected relatives.
T must define the type of its parent publicly as 'parent_type'.