Private Base heap used by StormByte::Safe::Shared, StormByte::Safe::Unique and StormByte::Safe::Clonable. More...


Go to the source code of this file.
Namespaces | |
| namespace | StormByte |
| Root namespace of the StormByte suite. | |
| namespace | StormByte::Safe |
| Owned values that cross a DLL without the caller's CRT. | |
| namespace | StormByte::Safe::Heap |
| Allocate and free raw blocks on Base's heap. | |
Functions | |
| void * | StormByte::Safe::Heap::Allocate (std::size_t bytes) |
Allocate bytes on Base's heap. | |
| void | StormByte::Safe::Heap::Free (void *pointer) noexcept |
| Release a block obtained from Allocate. | |
| void | StormByte::Safe::Heap::ThrowExpiredWeakPointer () |
| Throw ExpiredWeakPointerError. | |
| void | StormByte::Safe::Heap::RethrowException () |
| Preserve an active StormByte exception or translate a foreign one. | |
Variables | |
| constexpr Size | StormByte::Safe::Heap::Alignment {16} |
| Alignment guaranteed by Allocate, in bytes. | |
Private Base heap used by StormByte::Safe::Shared, StormByte::Safe::Unique and StormByte::Safe::Clonable.
Not installed. Not part of the public include tree. Implementation lives in safe/heap.cxx so allocation and release run on Base's CRT.