|
SuperDex Physics C++ API
|
#include <mochi_core/mochi_config.h>#include <cstddef>#include <type_traits>#include <utility>#include "allocator_inl.h"Go to the source code of this file.
Classes | |
| class | superdex::Allocator |
| Virtual interface class for memory allocation and deallocation. More... | |
| class | superdex::DefaultAllocator |
| Mochi's default implementation of the Allocator interface. More... | |
Namespaces | |
| namespace | superdex |
Macros | |
| #define | MOCHI_ALLOCATOR_DEBUG MOCHI_DEBUG |
Functions | |
| template<class T, class A> | |
| void | superdex::Delete (A *allocator, T *ptr) |
| Destroy and deallocate an object that was created via New<T>. | |
| Allocator * | superdex::GetDefaultAllocator () |
| Get an instance of the DefaultAllocator class. | |
| template<class T, class A, class... Args> | |
| T * | superdex::New (A *allocator, Args &&... args) |
| Create a new object of type T using memory allocated by a polymorphic Allocator. | |
| #define MOCHI_ALLOCATOR_DEBUG MOCHI_DEBUG |
Definition at line 33 of file allocator.h.