Base-owned reference counts and the real destructor. More...
#include <StormByte/safe/pointers.hxx>

Public Attributes | |
| std::atomic< long > | Strong |
| Owners. Zero destroys the object. | |
| std::atomic< long > | Weak |
| Owners plus observers. Zero frees the block. | |
| void(* | Destroy )(Control *) noexcept |
| Destructor of the concrete object. | |
| void * | Object |
| Address of the concrete object inside this block. | |
Base-owned reference counts and the real destructor.
The object lives in the same Heap::Allocate block, after this header. Destroy is the destructor of the concrete type, stored when the object is created.
|
noexcept |
Destructor of the concrete object.
| void* StormByte::Safe::Detail::Control::Object |
Address of the concrete object inside this block.
| std::atomic<long> StormByte::Safe::Detail::Control::Strong |
Owners. Zero destroys the object.
| std::atomic<long> StormByte::Safe::Detail::Control::Weak |
Owners plus observers. Zero frees the block.