|
@@ -20,6 +20,8 @@
|
|
|
#include "memoryBase.h"
|
|
#include "memoryBase.h"
|
|
|
#include "atomicAdjust.h"
|
|
#include "atomicAdjust.h"
|
|
|
|
|
|
|
|
|
|
+#include <algorithm>
|
|
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Class : PointerToVoid
|
|
// Class : PointerToVoid
|
|
|
// Description : This is the non-template part of the base class for
|
|
// Description : This is the non-template part of the base class for
|
|
@@ -52,6 +54,8 @@ public:
|
|
|
INLINE bool operator == (const PointerToVoid &other) const;
|
|
INLINE bool operator == (const PointerToVoid &other) const;
|
|
|
INLINE bool operator != (const PointerToVoid &other) const;
|
|
INLINE bool operator != (const PointerToVoid &other) const;
|
|
|
|
|
|
|
|
|
|
+ INLINE void swap(PointerToVoid &other);
|
|
|
|
|
+
|
|
|
protected:
|
|
protected:
|
|
|
// Within the PointerToVoid class, we only store a void pointer.
|
|
// Within the PointerToVoid class, we only store a void pointer.
|
|
|
// This is actually the (To *) pointer that is typecast to (void *)
|
|
// This is actually the (To *) pointer that is typecast to (void *)
|