#include <capability.h>
Public Member Functions | |
constexpr | Capabilities (uint32_t capabilities) |
constexpr bool | has (Capability capability) const |
constexpr uint32_t | get () const |
A collection of Capability
s.
Concrete allocators should declare a constant set of capabilities, and pass it to the Allocator
constructor.
Forwarding allocators should pass the underlying allocator's capabilities, potentially with modifications: