Spore ModAPI/Spore/CoreAllocatorAdapter.h file

Classes

class CoreAllocatorAdapter
CoreAllocatorAdapter.
class CoreDeleterAdapter
EASTLICoreDeleter.

Typedefs

using EASTLICoreDeleterAdapter = CoreDeleterAdapter<ICoreAllocator>
EASTLICoreDeleter.
using EASTLCoreDeleterAdapter = CoreDeleterAdapter<EASTLCoreAllocatorImpl>

Functions

auto operator==(const CoreAllocatorAdapter<AllocatorType>& a, const CoreAllocatorAdapter<AllocatorType>& b) -> bool
auto operator!=(const CoreAllocatorAdapter<AllocatorType>& a, const CoreAllocatorAdapter<AllocatorType>& b) -> bool

Defines

#define EASTL_CORE_ALLOCATOR_ADAPTER_GET_DEFAULT_CORE_ALLOCATOR
EASTL_CORE_ALLOCATOR_ADAPTER_GET_DEFAULT_CORE_ALLOCATOR.

Typedef documentation

typedef CoreDeleterAdapter<ICoreAllocator> EASTLICoreDeleterAdapter

EASTLICoreDeleter.

Provides a standardized typedef for ICoreAllocator implementations.

Example usage: eastl::shared_ptr<A> foo(pA, EASTLCoreDeleter());

Define documentation

#define EASTL_CORE_ALLOCATOR_ADAPTER_GET_DEFAULT_CORE_ALLOCATOR

EASTL_CORE_ALLOCATOR_ADAPTER_GET_DEFAULT_CORE_ALLOCATOR.

This allows the application to override the default name for the default global core allocator. However, you must be careful in your usage of this, as if this file is shared between uses then you will need to be careful that your override of this doesn't conflict with others.