91 assert(!this->was_deleted());
101 assert(!this->was_deleted());
113 operator T * ()
const {
114 assert(!this->was_deleted());
131 this->lock_into(ptr);
142 assert(!this->was_deleted());
192 this->reassign(std::move(from));
225 this->reassign(std::move(r));
371 assert(!this->was_deleted());
381 assert(!this->was_deleted());
394 operator
const T * ()
const {
395 assert(!this->was_deleted());
412 this->lock_into(ptr);
423 assert(!this->was_deleted());
493 this->reassign(std::move(from));
503 this->reassign(std::move(from));
558 this->reassign(std::move(r));
569 this->reassign(std::move(r));
A ConstPointerTo is similar to a PointerTo, except it keeps a const pointer to the thing.
This is the base class for PointerTo and ConstPointerTo.
This file defines the classes PointerTo and ConstPointerTo (and their abbreviations,...
A WeakConstPointerTo is similar to a WeakPointerTo, except it keeps a const pointer to the thing,...
const To * p() const
Returns an ordinary pointer instead of a WeakConstPointerTo.
ConstPointerTo< T > lock() const
A thread-safe way to access the underlying pointer; will silently return null if the underlying point...
const To * get_orig() const
Returns the original pointer value, even if the object has since been deleted.
This is the base class for PointerTo and ConstPointerTo.
WeakPointerTo is similar to PointerTo, except that it does not actually prevent the referenced pointe...
To * p() const
Returns an ordinary pointer instead of a WeakPointerTo.
PointerTo< T > lock() const
A thread-safe way to access the underlying pointer; will silently return null if the underlying point...
To * get_orig() const
Returns the original pointer value, even if the object has since been deleted.