Base Framework
|
Relocateable template class. More...
#include <base/Functor.h>
Inherits IntegralConstant< TYPE, VALUE >.
Additional Inherited Members | |
![]() | |
constexpr | operator TYPE () const noexcept |
constexpr TYPE | operator() () const noexcept |
Relocateable template class.
Specifies whether or not the type is relocateable (i.e. objects may be moved directly from one memory location to another without corrupting the object state). The relocateable property of an object is only intended to be used when really required due to performance considerations. If this function returns false objects have to be copy constructed at the new location and then destoyed at the old location. This function is primarily used by allocators to avoid these operations on their elements. Be very careful when adding your own specializations.