hmbdc
simplify-high-performance-messaging-programming
Public Types | Public Member Functions | Static Public Attributes | List of all members
hmbdc::os::DefaultAllocator Struct Reference

the default vanilla allocate More...

#include <Allocators.hpp>

Public Types

enum  { fromHeap = true }
 

Public Member Functions

template<typename... NoUses>
 DefaultAllocator (NoUses &&...)
 
template<typename T , typename... Args>
T * allocate (size_t alignment, Args &&...args)
 
void * memalign (size_t alignment, size_t size)
 
template<typename T >
void unallocate (T *ptr)
 
void free (void *ptr)
 

Static Public Attributes

static DefaultAllocator instance
 

Detailed Description

the default vanilla allocate


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