momo  3.9
momo::SegmentedArrayItemTraits< TItem, TMemManager > Class Template Reference

#include <SegmentedArray.h>

Public Types

typedef TItem Item
 
typedef TMemManager MemManager
 
template<typename... ItemArgs>
using Creator = typename ItemManager::template Creator< ItemArgs... >
 

Static Public Member Functions

static void Destroy (MemManager &memManager, Item *items, size_t count) noexcept
 
template<typename ItemArg >
static void Assign (MemManager &, ItemArg &&itemArg, Item &item)
 

Static Public Attributes

static const size_t alignment = ItemManager::alignment
 

Member Typedef Documentation

◆ Creator

template<typename TItem , typename TMemManager >
template<typename... ItemArgs>
using momo::SegmentedArrayItemTraits< TItem, TMemManager >::Creator = typename ItemManager::template Creator<ItemArgs...>

◆ Item

template<typename TItem , typename TMemManager >
typedef TItem momo::SegmentedArrayItemTraits< TItem, TMemManager >::Item

◆ MemManager

template<typename TItem , typename TMemManager >
typedef TMemManager momo::SegmentedArrayItemTraits< TItem, TMemManager >::MemManager

Member Function Documentation

◆ Assign()

template<typename TItem , typename TMemManager >
template<typename ItemArg >
static void momo::SegmentedArrayItemTraits< TItem, TMemManager >::Assign ( MemManager ,
ItemArg &&  itemArg,
Item item 
)
inlinestatic

◆ Destroy()

template<typename TItem , typename TMemManager >
static void momo::SegmentedArrayItemTraits< TItem, TMemManager >::Destroy ( MemManager memManager,
Item items,
size_t  count 
)
inlinestaticnoexcept

Member Data Documentation

◆ alignment

template<typename TItem , typename TMemManager >
const size_t momo::SegmentedArrayItemTraits< TItem, TMemManager >::alignment = ItemManager::alignment
static

The documentation for this class was generated from the following file: