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
23
24namespace sourcemeta::core {
25
28enum class Allocator : std::uint8_t {
33};
34
50SOURCEMETA_CORE_ALLOCATOR_EXPORT
52
53} // namespace sourcemeta::core
54
55#endif
SOURCEMETA_CORE_ALLOCATOR_EXPORT auto allocator() -> Allocator
Allocator
Definition allocator.h:28
@ System
The allocator the platform ships with.
Definition allocator.h:32
@ Mimalloc
The allocator this project vendors and links into its own programs.
Definition allocator.h:30