55 this->reassign(std::move(from));
67 return *((To *)(this->_void_ptr));
78 return (To *)(this->_void_ptr);
91 operator T *()
const {
92 return (To *)(this->_void_ptr);
104 return (To *)(this->_void_ptr);
199 this->reassign(std::move(from));
211 this->reassign(std::move(from));
223 return *((To *)(this->_void_ptr));
234 return (To *)(this->_void_ptr);
248 operator
const T * ()
const {
249 return (To *)(this->_void_ptr);
261 return (To *)(this->_void_ptr);
272 this->reassign((To *)ptr);
To * p() const
Returns an ordinary pointer instead of a NodePointerTo.
This is similar to PointerToBase, but it manages objects of type NodeReferenceCount or NodeCachedRefe...
A NodeConstPointerTo is similar to a NodePointerTo, except it keeps a const pointer to the thing.
const To * p() const
Returns an ordinary pointer instead of a NodeConstPointerTo.
This implements the special NodePointerTo template class, which works just like PointerTo except it m...