|
Blender
V2.93
|
#include <util_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 35 of file util_guarded_allocator.h.
| typedef const T* GuardedAllocator< T >::const_pointer |
Definition at line 40 of file util_guarded_allocator.h.
| typedef const T& GuardedAllocator< T >::const_reference |
Definition at line 42 of file util_guarded_allocator.h.
| typedef ptrdiff_t GuardedAllocator< T >::difference_type |
Definition at line 38 of file util_guarded_allocator.h.
| typedef T* GuardedAllocator< T >::pointer |
Definition at line 39 of file util_guarded_allocator.h.
| typedef T& GuardedAllocator< T >::reference |
Definition at line 41 of file util_guarded_allocator.h.
| typedef size_t GuardedAllocator< T >::size_type |
Definition at line 37 of file util_guarded_allocator.h.
| typedef T GuardedAllocator< T >::value_type |
Definition at line 43 of file util_guarded_allocator.h.
|
inline |
Definition at line 45 of file util_guarded_allocator.h.
|
inline |
Definition at line 48 of file util_guarded_allocator.h.
|
inline |
Definition at line 113 of file util_guarded_allocator.h.
|
inline |
Definition at line 94 of file util_guarded_allocator.h.
References x.
|
inline |
Definition at line 89 of file util_guarded_allocator.h.
References x.
|
inline |
Definition at line 52 of file util_guarded_allocator.h.
References MEM_mallocN_aligned, NULL, size(), T, and util_guarded_mem_alloc().
|
inline |
Definition at line 77 of file util_guarded_allocator.h.
References free(), MEM_freeN, NULL, T, and util_guarded_mem_free().
|
inline |
Definition at line 104 of file util_guarded_allocator.h.
|
inline |
Definition at line 126 of file util_guarded_allocator.h.
References GuardedAllocator< T >::operator==().
|
inline |
Definition at line 99 of file util_guarded_allocator.h.
|
inline |
Definition at line 117 of file util_guarded_allocator.h.
|
inline |
Definition at line 122 of file util_guarded_allocator.h.
Referenced by GuardedAllocator< T >::operator!=().