91 assert(!this->was_deleted());
101 assert(!this->was_deleted());
113 operator T * ()
const {
114 assert(!this->was_deleted());
129 this->lock_into(ptr);
140 assert(!this->was_deleted());
190 this->reassign(std::move(from));
223 this->reassign(std::move(r));
369 assert(!this->was_deleted());
379 assert(!this->was_deleted());
392 operator
const T * ()
const {
393 assert(!this->was_deleted());
405 this->lock_into(ptr);
416 assert(!this->was_deleted());
486 this->reassign(std::move(from));
496 this->reassign(std::move(from));
551 this->reassign(std::move(r));
562 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, PT and CPT).
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...