Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
Group_memory

Classes

struct  SC::Buffer
 An heap allocated byte buffer that can optionally use an inline buffer. More...
 
struct  SC::SmallBuffer< N >
 A SC::Buffer with a dedicated custom inline buffer to avoid heap allocation. More...
 
struct  SC::GlobalSettings
 Settings to initialize Globals. More...
 
struct  SC::Globals
 Customizable thread-local and global variables for memory handling. More...
 
struct  SC::Memory
 Centralized functions to allocate, reallocate and deallocate memory. More...
 
struct  SC::MemoryAllocator
 Customizable functions to allocate, reallocate and deallocate memory. More...
 
struct  SC::FixedAllocator
 A MemoryAllocator implementation using a finite slice of memory. More...
 
struct  SC::Segment< VTable >
 A slice of contiguous memory, prefixed by and header containing size and capacity. More...
 
struct  SC::VirtualMemory
 Reserves a contiguous slice of virtual memory committing just a portion of it. More...
 
struct  SC::VirtualAllocator
 A MemoryAllocator implementation based on a growable slice of VirtualMemory. More...
 

Typedefs

using SC::BufferTL = detail::SegmentCustom<Buffer, Buffer, 0, SegmentAllocator::ThreadLocal>
 
template<int N>
using SC::SmallBufferTL = detail::SegmentCustom<SmallBuffer<N>, Buffer, N, SegmentAllocator::ThreadLocal>
 

Enumerations

enum class  SegmentAllocator {
  Global = 0 ,
  ThreadLocal = 1
}
 

Detailed Description