scsl 0.1.1
Shimmering Clarity Standard Library
|
Memory management using an arena. More...
#include <iostream>
#include <sys/stat.h>
#include <cstddef>
#include <cstdint>
#include "Exceptions.h"
Go to the source code of this file.
Classes | |
class | scsl::Arena |
Namespaces | |
namespace | scsl |
scsl is the top-level namespace containing all the code in this library. | |
Enumerations | |
enum class | scsl::ArenaType : uint8_t { scsl::Uninit , scsl::Static , scsl::Alloc , scsl::MemoryMapped } |
Functions | |
std::ostream & | scsl::operator<< (std::ostream &os, Arena &arena) |
Memory management using an arena.
Arena defines a memory management backend for pre-allocating memory.
Arena will build on the major platforms, but memory-mapped files are only supported on Unix-like systems. File I/O on Windows, for example, reads the file into an allocated arena. See Arena::Open for more details.