|
Blender V5.3
|
#include <guarded_allocator.h>
Classes | |
| struct | rebind |
Public Types | |
| using | size_type = size_t |
| using | difference_type = ptrdiff_t |
| using | pointer = T * |
| using | const_pointer = const T * |
| using | reference = T & |
| using | const_reference = const T & |
| using | value_type = T |
Public Member Functions | |
| GuardedAllocator ()=default | |
| GuardedAllocator (const GuardedAllocator &)=default | |
| T * | allocate (const size_t n, const void *hint=nullptr) |
| void | deallocate (T *p, const size_t n) |
| T * | address (T &x) const |
| const T * | address (const T &x) const |
| GuardedAllocator< T > & | operator= (const GuardedAllocator &)=default |
| size_t | max_size () const |
| template<class U> | |
| GuardedAllocator (const GuardedAllocator< U > &) | |
| template<class U> | |
| GuardedAllocator & | operator= (const GuardedAllocator< U > &) |
| bool | operator== (const GuardedAllocator &) const |
| bool | operator!= (const GuardedAllocator &other) const |
Definition at line 23 of file guarded_allocator.h.
| using GuardedAllocator< T >::const_pointer = const T * |
Definition at line 28 of file guarded_allocator.h.
| using GuardedAllocator< T >::const_reference = const T & |
Definition at line 30 of file guarded_allocator.h.
| using GuardedAllocator< T >::difference_type = ptrdiff_t |
Definition at line 26 of file guarded_allocator.h.
| using GuardedAllocator< T >::pointer = T * |
Definition at line 27 of file guarded_allocator.h.
| using GuardedAllocator< T >::reference = T & |
Definition at line 29 of file guarded_allocator.h.
| using GuardedAllocator< T >::size_type = size_t |
Definition at line 25 of file guarded_allocator.h.
| using GuardedAllocator< T >::value_type = T |
Definition at line 31 of file guarded_allocator.h.
|
default |
Referenced by Attribute::Attribute(), and free_step_buffer().
|
default |
|
inline |
Definition at line 94 of file guarded_allocator.h.
|
inline |
Definition at line 78 of file guarded_allocator.h.
|
inline |
Definition at line 73 of file guarded_allocator.h.
|
inline |
Definition at line 36 of file guarded_allocator.h.
Referenced by Attribute::add_motion(), buffer_for_write(), and Attribute::resize().
|
inline |
Definition at line 61 of file guarded_allocator.h.
Referenced by free_step_buffer().
|
inline |
Definition at line 85 of file guarded_allocator.h.
|
inline |
Definition at line 105 of file guarded_allocator.h.
|
default |
|
inline |
Definition at line 96 of file guarded_allocator.h.
|
inline |
Definition at line 101 of file guarded_allocator.h.