momo  3.9
momo::ObjectRelocator< TObject, TMemManager > Class Template Reference

#include <ObjectManager.h>

Public Types

typedef TObject Object
 
typedef TMemManager MemManager
 

Static Public Member Functions

static void Relocate (MemManager *memManager, Object &srcObject, Object *dstObject) noexcept(isNothrowRelocatable)
 

Static Public Attributes

static const bool isTriviallyRelocatable = IsTriviallyRelocatable<Object>::value
 
static const bool isNothrowRelocatable
 

Member Typedef Documentation

◆ MemManager

template<typename TObject , typename TMemManager >
typedef TMemManager momo::ObjectRelocator< TObject, TMemManager >::MemManager

◆ Object

template<typename TObject , typename TMemManager >
typedef TObject momo::ObjectRelocator< TObject, TMemManager >::Object

Member Function Documentation

◆ Relocate()

template<typename TObject , typename TMemManager >
static void momo::ObjectRelocator< TObject, TMemManager >::Relocate ( MemManager memManager,
Object srcObject,
Object dstObject 
)
inlinestaticnoexcept

Member Data Documentation

◆ isNothrowRelocatable

template<typename TObject , typename TMemManager >
const bool momo::ObjectRelocator< TObject, TMemManager >::isNothrowRelocatable
static
Initial value:
|| std::is_nothrow_move_constructible<Object>::value
|| (std::is_move_constructible<Object>::value

◆ isTriviallyRelocatable

template<typename TObject , typename TMemManager >
const bool momo::ObjectRelocator< TObject, TMemManager >::isTriviallyRelocatable = IsTriviallyRelocatable<Object>::value
static

The documentation for this class was generated from the following file:
momo::ObjectRelocator::Object
TObject Object
Definition: ObjectManager.h:84
momo::ObjectRelocator::isTriviallyRelocatable
static const bool isTriviallyRelocatable
Definition: ObjectManager.h:87
MOMO_IS_NOTHROW_RELOCATABLE_APPENDIX
#define MOMO_IS_NOTHROW_RELOCATABLE_APPENDIX(Object)
Definition: UserSettings.h:53