|
dune-common 2.9.0
|
A class augmenting std::tuple by element access via operator[]. More...
#include <dune/common/tuplevector.hh>

Public Member Functions | |
| template<class... TT, std::enable_if_t< hasTupleConstructor< TT... >::value, int > = 0> | |
| constexpr | TupleVector (TT &&... tt) |
| Construct from a set of arguments. More... | |
| constexpr | TupleVector () |
| Default constructor. More... | |
| template<std::size_t i> | |
| constexpr decltype(auto) | operator[] (const Dune::index_constant< i > &) const |
| Const access to the tuple elements. More... | |
| template<std::size_t i> | |
| decltype(auto) | operator[] (const Dune::index_constant< i > &) |
| Non-const access to the tuple elements. More... | |
Static Public Member Functions | |
| static constexpr std::size_t | size () |
| Number of elements of the tuple. More... | |
A class augmenting std::tuple by element access via operator[].
|
inlineconstexpr |
Construct from a set of arguments.
This is only available if you can construct the underlying std::tuple from the same argument list.
|
inlineconstexpr |
Default constructor.
|
inline |
Non-const access to the tuple elements.
|
inlineconstexpr |
Const access to the tuple elements.
|
inlinestaticconstexpr |
Number of elements of the tuple.