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 >
struct Dune::InstantiateTuple< Tuple, Key, Seed, len >
Instantiate a tuple of elements with identical, simple constructors.
- Template Parameters
-
Tuple tuple type Key type of argument to be passed to each constructor Seed internal template argument len internal template argument
Sample usage:
Tuple tuple = InstantiateTuple< Tuple, Key >::apply( key );
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>
|
inlinestatic |
create tuple instance
- Parameters
-
[in] key argument passed to each constructor
The documentation for this struct was generated from the following file:
- dune/fem/common/tupleutility.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 20, 23:30, 2024)