lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Public Types | Static Public Member Functions | Static Public Attributes
lean::memory::win_heap Struct Reference

Windows heap. More...

#include <win_heap.h>

List of all members.

Public Types

typedef size_t size_type
 Size type.

Static Public Member Functions

static LEAN_MAYBE_EXPORT void * allocate (size_type size)
 Allocates the given amount of memory.
static LEAN_MAYBE_EXPORT 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_WIN_ALIGNMENT
 Default alignment.

Detailed Description

Windows heap.


The documentation for this struct was generated from the following files: