Sourcemeta Core 0.0.0
Loading...
Searching...
No Matches
allocator.h
1#ifndef SOURCEMETA_CORE_ALLOCATOR_H_
2#define SOURCEMETA_CORE_ALLOCATOR_H_
3
4#ifndef SOURCEMETA_CORE_ALLOCATOR_EXPORT
5#include <sourcemeta/core/allocator_export.h>
6#endif
7
8#include <cstdint> // std::uint8_t
9
37
38namespace sourcemeta::core {
39
42enum class Allocator : std::uint8_t {
47};
48
64SOURCEMETA_CORE_ALLOCATOR_EXPORT
66
67} // namespace sourcemeta::core
68
69#endif
SOURCEMETA_CORE_ALLOCATOR_EXPORT auto allocator() -> Allocator
Allocator
Definition allocator.h:42
@ System
The allocator the platform ships with.
Definition allocator.h:46
@ Mimalloc
The allocator this project vendors and links into its own programs.
Definition allocator.h:44