SuperDex Physics C++ API
Loading...
Searching...
No Matches
allocator_inl.h File Reference
#include <mochi_core/utils/basic_utils.h>
#include <mochi_core/utils/debug.h>
#include "allocator.h"
#include <memory_resource>

Go to the source code of this file.

Namespaces

namespace  superdex

Macros

#define MOCHI_ALLOCATOR_ASSERT(condition_without_side_effects, ...)
#define MOCHI_HAS_EXPERIMENTAL_MEMORY_RESOURCE   0
#define MOCHI_HAS_MEMORY_RESOURCE   1
#define MOCHI_HAS_PMR_NEW_DELETE_RESOURCE   1

Functions

Allocatorsuperdex::GetDefaultAllocator ()
 Get an instance of the DefaultAllocator class.

Macro Definition Documentation

◆ MOCHI_ALLOCATOR_ASSERT

#define MOCHI_ALLOCATOR_ASSERT ( condition_without_side_effects,
... )
Value:
MOCHI_ASSERT(condition_without_side_effects __VA_OPT__(, )##__VA_ARGS__)
#define MOCHI_ASSERT(condition_without_side_effects,...)
Definition debug.h:81

Definition at line 78 of file allocator_inl.h.

◆ MOCHI_HAS_EXPERIMENTAL_MEMORY_RESOURCE

#define MOCHI_HAS_EXPERIMENTAL_MEMORY_RESOURCE   0

Definition at line 26 of file allocator_inl.h.

◆ MOCHI_HAS_MEMORY_RESOURCE

#define MOCHI_HAS_MEMORY_RESOURCE   1

Definition at line 25 of file allocator_inl.h.

◆ MOCHI_HAS_PMR_NEW_DELETE_RESOURCE

#define MOCHI_HAS_PMR_NEW_DELETE_RESOURCE   1

Definition at line 27 of file allocator_inl.h.