|
Blender V5.0
|
#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 22 of file guarded_allocator.h.
| using GuardedAllocator< T >::const_pointer = const T * |
Definition at line 27 of file guarded_allocator.h.
| using GuardedAllocator< T >::const_reference = const T & |
Definition at line 29 of file guarded_allocator.h.
| using GuardedAllocator< T >::difference_type = ptrdiff_t |
Definition at line 25 of file guarded_allocator.h.
| using GuardedAllocator< T >::pointer = T * |
Definition at line 26 of file guarded_allocator.h.
| using GuardedAllocator< T >::reference = T & |
Definition at line 28 of file guarded_allocator.h.
| using GuardedAllocator< T >::size_type = size_t |
Definition at line 24 of file guarded_allocator.h.
| using GuardedAllocator< T >::value_type = T |
Definition at line 30 of file guarded_allocator.h.
|
default |
|
default |
|
inline |
Definition at line 93 of file guarded_allocator.h.
|
inline |
Definition at line 77 of file guarded_allocator.h.
|
inline |
Definition at line 72 of file guarded_allocator.h.
|
inline |
Definition at line 35 of file guarded_allocator.h.
|
inline |
Definition at line 60 of file guarded_allocator.h.
|
inline |
Definition at line 84 of file guarded_allocator.h.
|
inline |
Definition at line 104 of file guarded_allocator.h.
|
default |
|
inline |
Definition at line 95 of file guarded_allocator.h.
|
inline |
Definition at line 100 of file guarded_allocator.h.
Referenced by GuardedAllocator< U >::operator!=().