DUNE-FEM (unstable)

Dune::InstantiateTuple< Tuple, Key, Seed, len > Struct Template Reference

Instantiate a tuple of elements with identical, simple constructors. More...

#include <dune/fem/common/tupleutility.hh>

Static Public Member Functions

static Tuple apply (const Key &key=Key())
 create tuple instance More...
 

Detailed Description

template<class Tuple, class Key, class Seed = std::tuple<>, int len = std::tuple_size< Tuple >::value>
struct Dune::InstantiateTuple< Tuple, Key, Seed, len >

Instantiate a tuple of elements with identical, simple constructors.

Template Parameters
Tupletuple type
Keytype of argument to be passed to each constructor
Seedinternal template argument
leninternal template argument

Sample usage:

static Tuple apply(const Key &key=Key())
create tuple instance
Definition: tupleutility.hh:353

Note that the tuple object is required to be copyable.

Member Function Documentation

◆ apply()

template<class Tuple , class Key , class Seed = std::tuple<>, int len = std::tuple_size< Tuple >::value>
static Tuple Dune::InstantiateTuple< Tuple, Key, Seed, len >::apply ( const Key &  key = Key())
inlinestatic

create tuple instance

Parameters
[in]keyargument passed to each constructor

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)