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());
409 this->lock_into(ptr);
420 assert(!this->was_deleted());
490 this->reassign(std::move(from));
500 this->reassign(std::move(from));
555 this->reassign(std::move(r));
566 this->reassign(std::move(r));
const To * get_orig() const
Returns the original pointer value, even if the object has since been deleted.
To * get_orig() const
Returns the original pointer value, even if the object has since been deleted.
WeakPointerTo is similar to PointerTo, except that it does not actually prevent the referenced pointe...
This is the base class for PointerTo and ConstPointerTo.
To * p() const
Returns an ordinary pointer instead of a WeakPointerTo.
const To * p() const
Returns an ordinary pointer instead of a WeakConstPointerTo.
PointerTo< T > lock() const
A thread-safe way to access the underlying pointer; will silently return null if the underlying point...
A WeakConstPointerTo is similar to a WeakPointerTo, except it keeps a const pointer to the thing,...
A ConstPointerTo is similar to a PointerTo, except it keeps a const pointer to the thing.
This file defines the classes PointerTo and ConstPointerTo (and their abbreviations,...
This is the base class for PointerTo and ConstPointerTo.
ConstPointerTo< T > lock() const
A thread-safe way to access the underlying pointer; will silently return null if the underlying point...