Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
PSYQO SDK
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Performs `remaining` as part of the bump allocator module.
size_t remaining() constPerforms `remaining` as part of the bump allocator module.
This overload takes no parameters.
Returns: size_t. Consult the linked header for its meaning.
#include "psyqo/bump-allocator.hh"
psyqo::BumpAllocator& object = /* obtain a valid instance */;
auto result = object.remaining();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
allocatePerforms `allocate` as part of the bump allocator module.Function templateallocateFragmentPerforms `allocate fragment` as part of the bump allocator module.Function templateresetResets reset as part of the bump allocator module.MethodusedPerforms `used` as part of the bump allocator module.Method