ttg::detail::ContainerWrapper< keyT, valueT > Struct Template Reference

Documentation

template<typename keyT, typename valueT>
struct ttg::detail::ContainerWrapper< keyT, valueT >

Definition at line 25 of file terminal.h.

Public Member Functions

 ContainerWrapper ()=default
 
 ContainerWrapper (const ContainerWrapper &)=default
 
 ContainerWrapper (ContainerWrapper &&)=default
 
ContainerWrapperoperator= (const ContainerWrapper &)=default
 
template<typename T , typename mapperT , typename keymapT , std::enable_if_t<!std::is_same< std::decay_t< T >, ContainerWrapper >{}, bool > = true>
 ContainerWrapper (T &t, mapperT &&mapper, keymapT &&keymap)
 

Public Attributes

std::function< valueT(keyT const &key)> get = nullptr
 
std::function< size_t(keyT const &key)> owner = nullptr
 

Constructor & Destructor Documentation

◆ ContainerWrapper() [1/4]

template<typename keyT , typename valueT >
ttg::detail::ContainerWrapper< keyT, valueT >::ContainerWrapper ( )
default

◆ ContainerWrapper() [2/4]

template<typename keyT , typename valueT >
ttg::detail::ContainerWrapper< keyT, valueT >::ContainerWrapper ( const ContainerWrapper< keyT, valueT > &  )
default

◆ ContainerWrapper() [3/4]

template<typename keyT , typename valueT >
ttg::detail::ContainerWrapper< keyT, valueT >::ContainerWrapper ( ContainerWrapper< keyT, valueT > &&  )
default

◆ ContainerWrapper() [4/4]

template<typename keyT , typename valueT >
template<typename T , typename mapperT , typename keymapT , std::enable_if_t<!std::is_same< std::decay_t< T >, ContainerWrapper >{}, bool > = true>
ttg::detail::ContainerWrapper< keyT, valueT >::ContainerWrapper ( T &  t,
mapperT &&  mapper,
keymapT &&  keymap 
)
inline

Definition at line 37 of file terminal.h.

Member Function Documentation

◆ operator=()

template<typename keyT , typename valueT >
ContainerWrapper& ttg::detail::ContainerWrapper< keyT, valueT >::operator= ( const ContainerWrapper< keyT, valueT > &  )
default

Member Data Documentation

◆ get

template<typename keyT , typename valueT >
std::function<valueT (keyT const& key)> ttg::detail::ContainerWrapper< keyT, valueT >::get = nullptr

Definition at line 26 of file terminal.h.

◆ owner

template<typename keyT , typename valueT >
std::function<size_t (keyT const& key)> ttg::detail::ContainerWrapper< keyT, valueT >::owner = nullptr

Definition at line 27 of file terminal.h.


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