file
CoreAllocatorAdapter.h
Classes
-
template<class AllocatorType>class CoreAllocatorAdapter
- CoreAllocatorAdapter.
-
template<class AllocatorType>class CoreDeleterAdapter
- EASTLICoreDeleter.
Typedefs
- using EASTLICoreDeleterAdapter = CoreDeleterAdapter<ICoreAllocator>
- EASTLICoreDeleter.
- using EASTLCoreDeleterAdapter = CoreDeleterAdapter<EASTLCoreAllocatorImpl>
Functions
-
template<class AllocatorType>auto operator==(const CoreAllocatorAdapter<AllocatorType>& a, const CoreAllocatorAdapter<AllocatorType>& b) -> bool
-
template<class AllocatorType>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.