BitMagic-C++: bmalloc.h File Reference

BitMagic-C++

Data Structures | Namespaces | Macros | Typedefs | Functions
bmalloc.h File Reference

Default SIMD friendly allocator. More...

`#include <stdlib.h>`
`#include <new>`
Include dependency graph for bmalloc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
class | bm::block_allocator
| Default malloc based bitblock allocator class. More...
class | bm::ptr_allocator
| Default malloc based bitblock allocator class. More...
class | bm::pointer_pool_array
| Pool of pointers to buffer cyclic allocations. More...
class | bm::alloc_pool< BA, PA >
| Allocation pool object. More...
class | bm::mem_alloc< BA, PA, APool >
| BM style allocator adapter. More...

## Namespaces
| bm

## Macros
#define | BM_ALLOC_ALIGN 16

## Typedefs
typedef bm::alloc_pool< block_allocator, ptr_allocator > | bm::standard_alloc_pool
typedef bm::mem_alloc< block_allocator, ptr_allocator, standard_alloc_pool > | bm::standard_allocator

## Functions
void * | bm::aligned_new_malloc (size_t size)
| Aligned malloc (unlike classic malloc it throws bad_alloc exception) More...
void | bm::aligned_free (void *ptr) BMNOEXCEPT
| Aligned free. More...

## Detailed Description

Default SIMD friendly allocator.

Definition in file bmalloc.h.

## Macro Definition Documentation

## ◆ BM_ALLOC_ALIGN

#define BM_ALLOC_ALIGN 16

Definition at line 32 of file bmalloc.h.