Bullet Collision Detection & Physics Library
|
The btAlignedAllocator is a portable class for aligned memory allocations. More...
#include <btAlignedAllocator.h>
Classes | |
struct | rebind |
Public Types | |
typedef const T * | const_pointer |
typedef const T & | const_reference |
typedef T * | pointer |
typedef T & | reference |
typedef T | value_type |
Public Member Functions | |
btAlignedAllocator () | |
template<typename Other > | |
btAlignedAllocator (const btAlignedAllocator< Other, Alignment > &) | |
pointer | address (reference ref) const |
const_pointer | address (const_reference ref) const |
pointer | allocate (size_type n, const_pointer *hint=0) |
void | construct (pointer ptr, const value_type &value) |
void | deallocate (pointer ptr) |
void | destroy (pointer ptr) |
template<typename O > | |
self_type & | operator= (const btAlignedAllocator< O, Alignment > &) |
Private Types | |
typedef btAlignedAllocator< T, Alignment > | self_type |
Friends | |
bool | operator== (const self_type &, const self_type &) |
The btAlignedAllocator is a portable class for aligned memory allocations.
Default implementations for unaligned and aligned allocations can be overridden by a custom allocator using btAlignedAllocSetCustom and btAlignedAllocSetCustomAligned.
Definition at line 65 of file btAlignedAllocator.h.
typedef const T* btAlignedAllocator< T, Alignment >::const_pointer |
Definition at line 81 of file btAlignedAllocator.h.
typedef const T& btAlignedAllocator< T, Alignment >::const_reference |
Definition at line 82 of file btAlignedAllocator.h.
typedef T* btAlignedAllocator< T, Alignment >::pointer |
Definition at line 83 of file btAlignedAllocator.h.
typedef T& btAlignedAllocator< T, Alignment >::reference |
Definition at line 84 of file btAlignedAllocator.h.
|
private |
Definition at line 67 of file btAlignedAllocator.h.
typedef T btAlignedAllocator< T, Alignment >::value_type |
Definition at line 85 of file btAlignedAllocator.h.
|
inline |
Definition at line 71 of file btAlignedAllocator.h.
|
inline |
Definition at line 77 of file btAlignedAllocator.h.
|
inline |
Definition at line 88 of file btAlignedAllocator.h.
|
inline |
Definition at line 87 of file btAlignedAllocator.h.
|
inline |
Definition at line 89 of file btAlignedAllocator.h.
|
inline |
Definition at line 94 of file btAlignedAllocator.h.
|
inline |
Definition at line 95 of file btAlignedAllocator.h.
|
inline |
Definition at line 99 of file btAlignedAllocator.h.
|
inline |
Definition at line 107 of file btAlignedAllocator.h.
|
friend |
Definition at line 112 of file btAlignedAllocator.h.