template<class AllocatorType>
CoreDeleterAdapter class

EASTLICoreDeleter.

Implements a functor which can free memory from the specified ICoreAllocator interface. This is a convenience object provided for users who wish to have EASTL containers deallocate memory obtained from ICoreAllocator interfaces.

Public types

using this_type = CoreDeleterAdapter<AllocatorType>

Constructors, destructors, conversion operators

CoreDeleterAdapter(AllocatorType* pAllocator = EASTL_CORE_ALLOCATOR_ADAPTER_GET_DEFAULT_CORE_ALLOCATOR()) EA_NOEXCEPT
~CoreDeleterAdapter() EA_NOEXCEPT
CoreDeleterAdapter(const CoreDeleterAdapter& in)

Public functions

template<typename T>
void operator()(T* p)

Public variables

AllocatorType* mpCoreAllocator