dune-functions
2.5.0
|
A class augmenting std::tuple by element access via operator[]. More...
#include <dune/functions/common/tuplevector.hh>
Public Member Functions | |
template<class... TT> | |
constexpr | TupleVector (TT &&... tt) |
Construct from a set of arguments. More... | |
constexpr | TupleVector () |
Default constructor. More... | |
template<std::size_t i> | |
auto | operator[] (const Dune::index_constant< i > &) const -> decltype(std::get< i >(*this)) |
Const access to the tuple elements. More... | |
template<std::size_t i> | |
auto | operator[] (const Dune::index_constant< i > &) -> decltype(std::get< i >(*this)) |
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[].
|
inline |
Construct from a set of arguments.
|
inline |
Default constructor.
|
inline |
Const access to the tuple elements.
|
inline |
Non-const access to the tuple elements.
|
inlinestatic |
Number of elements of the tuple.