The allocator that every program in this project runs on. More...
Enumerations | |
| enum class | sourcemeta::core::Allocator : std::uint8_t { Allocator::Mimalloc , Allocator::System } |
Functions | |
| SOURCEMETA_CORE_ALLOCATOR_EXPORT auto | sourcemeta::core::allocator () -> Allocator |
The allocator that every program in this project runs on.
This functionality is included as follows:
Linking this library into a program is what puts its allocator in place, as the standard allocation entry points it defines are the ones the program already calls. No other library in this project links it, so a program that does not ask for it keeps the allocator its platform ships with.
|
strong |
| SOURCEMETA_CORE_ALLOCATOR_EXPORT auto sourcemeta::core::allocator | ( | ) | -> Allocator |
Report the allocator this program was linked against. For example: