ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ttg::detail::ContainerWrapper< keyT, valueT > Struct Template Reference

#include <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
 

Detailed Description

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

Definition at line 26 of file terminal.h.

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 38 of file terminal.h.

Member Function Documentation

◆ operator=()

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 27 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 28 of file terminal.h.


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