54 #ifdef USE_MOVE_SEMANTICS
78 this->reassign(move(from));
82 #endif // USE_MOVE_SEMANTICS
93 return *((To *)(this->_void_ptr));
106 return (To *)(this->_void_ptr);
123 operator T *()
const {
124 return (To *)(this->_void_ptr);
139 return (To *)(this->_void_ptr);
225 #ifdef USE_MOVE_SEMANTICS
263 this->reassign(move(from));
277 this->reassign(move(from));
281 #endif // USE_MOVE_SEMANTICS
292 return *((To *)(this->_void_ptr));
305 return (To *)(this->_void_ptr);
323 operator
const T * ()
const {
324 return (To *)(this->_void_ptr);
339 return (To *)(this->_void_ptr);
352 this->reassign((To *)ptr);
This is similar to PointerToBase, but it manages objects of type NodeReferenceCount or NodeCachedRefe...
const To * p() const
Returns an ordinary pointer instead of a NodeConstPointerTo.
To * p() const
Returns an ordinary pointer instead of a NodePointerTo.
A NodeConstPointerTo is similar to a NodePointerTo, except it keeps a const pointer to the thing...
This implements the special NodePointerTo template class, which works just like PointerTo except it m...