lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
Default CRT heap. More...
#include <crt_heap.h>
Public Types | |
typedef size_t | size_type |
Size type. | |
Static Public Member Functions | |
static LEAN_INLINE void * | allocate (size_type size) |
Allocates the given amount of memory. | |
static LEAN_INLINE void | free (void *memory) |
Frees the given block of memory. | |
template<size_t Alignment> | |
static LEAN_INLINE void * | allocate (size_type size) |
Allocates the given amount of memory respecting the given alignment. | |
template<size_t Alignment> | |
static LEAN_INLINE void | free (void *memory) |
Frees the given aligned block of memory. | |
static LEAN_INLINE void | free (void *memory, size_t alignment) |
Frees the given aligned block of memory. | |
Static Public Attributes | |
static const size_type | default_alignment = LEAN_ASSUME_CRT_ALIGNMENT |
Default alignment. |
Default CRT heap.