CoDiPack  3.0.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::TupleMemory< Ts > Struct Template Reference

Tuple implementation which allows to force inline of the construction of the tuple. More...

#include <tupleMemory.hpp>

Inheritance diagram for codi::TupleMemory< Ts >:

Public Types

using Args = std::tuple<Ts...>
 Helper for getting the i-th element.
 
using Base = TupleMemoryBase<std::make_index_sequence<sizeof...(Ts)>, Ts...>
 Abbreviation for base class.
 

Public Member Functions

template<size_t i>
inlineauto & get () const
 Get specific element.
 
template<typename... TTs>
 inlineTupleMemory (TTs &&... v)
 Constructor.
 
 inlineTupleMemory (TupleMemory const &v)=default
 Constructor.
 

Detailed Description

template<typename... Ts>
struct codi::TupleMemory< Ts >

Tuple implementation which allows to force inline of the construction of the tuple.

This is just a minimal implementation which we need for ComputeExpression.

  • TupleMemoryLeaf stores one entry from the specified tuple types.
  • TupleMemoryBase helper class unrolling the integer_sequence into a variadic template argument.
Template Parameters
TsType of the stored elements. References are kept.

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