|
Blender V5.3
|
#include <BLI_memory_utils.hh>
Public Member Functions | |
| operator T* () | |
| operator const T * () const | |
| T & | operator* () |
| const T & | operator* () const |
| T * | ptr () |
| const T * | ptr () const |
| T & | ref () |
| const T & | ref () const |
This can be used to reserve memory for C++ objects whose lifetime is different from the lifetime of the object they are embedded in. It's used by containers with small buffer optimization and hash table implementations.
Definition at line 154 of file BLI_memory_utils.hh.
|
inline |
Definition at line 186 of file BLI_memory_utils.hh.
|
inline |
Definition at line 181 of file BLI_memory_utils.hh.
|
inline |
Definition at line 191 of file BLI_memory_utils.hh.
|
inline |
Definition at line 196 of file BLI_memory_utils.hh.
|
inline |
Definition at line 201 of file BLI_memory_utils.hh.
Referenced by blender::tests::TEST().
|
inline |
Definition at line 206 of file BLI_memory_utils.hh.
|
inline |
Definition at line 211 of file BLI_memory_utils.hh.
|
inline |
Definition at line 216 of file BLI_memory_utils.hh.