momo
3.9
|
MemManagerStd
uses allocator<unsigned char>::allocate
and deallocate
More...
#include <MemManager.h>
Public Types | |
typedef TAllocator | Allocator |
typedef std::allocator_traits< Allocator >::template rebind_alloc< internal::Byte > | ByteAllocator |
Public Member Functions | |
MemManagerStd () noexcept(std::is_nothrow_default_constructible< ByteAllocator >::value) | |
MemManagerStd (const Allocator &alloc) noexcept | |
MemManagerStd (MemManagerStd &&memManager) noexcept | |
MemManagerStd (const MemManagerStd &memManager) | |
~MemManagerStd ()=default | |
template<bool enabled = std::is_nothrow_move_assignable<ByteAllocator>::value || ByteAllocatorTraits::propagate_on_container_move_assignment::value || ByteAllocatorTraits::propagate_on_container_copy_assignment::value || ByteAllocatorTraits::propagate_on_container_swap::value> | |
internal::EnableIf< enabled, MemManagerStd & > | operator= (MemManagerStd &&memManager) noexcept |
MemManagerStd & | operator= (const MemManagerStd &)=delete |
MOMO_NODISCARD void * | Allocate (size_t size) |
void | Deallocate (void *ptr, size_t size) noexcept |
bool | IsEqual (const MemManagerStd &memManager) const noexcept |
const ByteAllocator & | GetByteAllocator () const noexcept |
ByteAllocator & | GetByteAllocator () noexcept |
MemManagerStd
uses allocator<unsigned char>::allocate
and deallocate
typedef TAllocator momo::MemManagerStd< TAllocator >::Allocator |
typedef std::allocator_traits<Allocator>::template rebind_alloc<internal::Byte> momo::MemManagerStd< TAllocator >::ByteAllocator |
|
inlineexplicitnoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inline |
|
default |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
delete |
|
inlinenoexcept |