21 INLINE PointerToVoid::
23 _void_ptr = (
void *)NULL;
31 INLINE PointerToVoid::
33 nassertv(_void_ptr == (
void *)NULL);
41 INLINE PointerToVoid::
55 return (_void_ptr == (
void *)NULL);
63 INLINE
size_t PointerToVoid::
65 return (
size_t)_void_ptr;
73 INLINE
bool PointerToVoid::
74 operator < (
const void *other)
const {
75 return _void_ptr < other;
83 INLINE
bool PointerToVoid::
85 return _void_ptr < other._void_ptr;
93 INLINE
bool PointerToVoid::
95 return _void_ptr == other._void_ptr;
103 INLINE
bool PointerToVoid::
105 return _void_ptr != other._void_ptr;
119 AtomicAdjust::Pointer temp = _void_ptr;
120 _void_ptr = other._void_ptr;
121 other._void_ptr = temp;
This is the non-template part of the base class for PointerTo and ConstPointerTo. ...
bool is_null() const
Returns true if the PointerTo is a NULL pointer, false otherwise.
void swap(PointerToVoid &other) NOEXCEPT
Swaps the contents of this PointerTo with the other, without touching the reference counts...