Blender
V3.3
|
#include <guarded_allocator.h>
Classes | |
struct | rebind |
Public Types | |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef T & | reference |
typedef const T & | const_reference |
typedef T | value_type |
Public Member Functions | |
GuardedAllocator () | |
GuardedAllocator (const GuardedAllocator &) | |
T * | allocate (size_t n, const void *hint=0) |
void | deallocate (T *p, size_t n) |
T * | address (T &x) const |
const T * | address (const T &x) const |
GuardedAllocator< T > & | operator= (const GuardedAllocator &) |
size_t | max_size () const |
template<class U > | |
GuardedAllocator (const GuardedAllocator< U > &) | |
template<class U > | |
GuardedAllocator & | operator= (const GuardedAllocator< U > &) |
bool | operator== (GuardedAllocator const &) const |
bool | operator!= (GuardedAllocator const &other) const |
Definition at line 22 of file guarded_allocator.h.
typedef const T* GuardedAllocator< T >::const_pointer |
Definition at line 27 of file guarded_allocator.h.
typedef const T& GuardedAllocator< T >::const_reference |
Definition at line 29 of file guarded_allocator.h.
typedef ptrdiff_t GuardedAllocator< T >::difference_type |
Definition at line 25 of file guarded_allocator.h.
typedef T* GuardedAllocator< T >::pointer |
Definition at line 26 of file guarded_allocator.h.
typedef T& GuardedAllocator< T >::reference |
Definition at line 28 of file guarded_allocator.h.
typedef size_t GuardedAllocator< T >::size_type |
Definition at line 24 of file guarded_allocator.h.
typedef T GuardedAllocator< T >::value_type |
Definition at line 30 of file guarded_allocator.h.
|
inline |
Definition at line 32 of file guarded_allocator.h.
|
inline |
Definition at line 35 of file guarded_allocator.h.
|
inline |
Definition at line 100 of file guarded_allocator.h.
|
inline |
Definition at line 81 of file guarded_allocator.h.
References x.
|
inline |
Definition at line 76 of file guarded_allocator.h.
References x.
|
inline |
Definition at line 39 of file guarded_allocator.h.
References MEM_mallocN_aligned, NULL, size(), T, util_guarded_mem_alloc(), and void.
|
inline |
Definition at line 64 of file guarded_allocator.h.
References free(), MEM_freeN, NULL, T, and util_guarded_mem_free().
|
inline |
Definition at line 91 of file guarded_allocator.h.
|
inline |
Definition at line 113 of file guarded_allocator.h.
References GuardedAllocator< T >::operator==().
|
inline |
Definition at line 86 of file guarded_allocator.h.
|
inline |
Definition at line 104 of file guarded_allocator.h.
|
inline |
Definition at line 109 of file guarded_allocator.h.
Referenced by GuardedAllocator< T >::operator!=().