A class augmenting std::tuple by element access via operator[]. More...
#include <dune/common/tuplevector.hh>
Public Member Functions | |
template<class... TT> | |
constexpr | TupleVector (TT &&...tt) |
Construct from a set of arguments. | |
constexpr | TupleVector () |
Default constructor. | |
template<std::size_t i> | |
constexpr | decltype (auto) operator[](const Dune |
Const access to the tuple elements. | |
template<std::size_t i> | |
decltype (auto) operator[](const Dune | |
Non-const access to the tuple elements. | |
Static Public Member Functions | |
static constexpr std::size_t | size () |
Number of elements of the tuple. |
A class augmenting std::tuple by element access via operator[].
constexpr Dune::TupleVector< T >::TupleVector | ( | TT &&... | tt | ) | [inline] |
Construct from a set of arguments.
constexpr Dune::TupleVector< T >::TupleVector | ( | ) | [inline] |
Default constructor.
Dune::TupleVector< T >::decltype | ( | auto | ) | const [inline] |
Non-const access to the tuple elements.
constexpr Dune::TupleVector< T >::decltype | ( | auto | ) | const [inline] |
Const access to the tuple elements.
static constexpr std::size_t Dune::TupleVector< T >::size | ( | ) | [inline, static] |
Number of elements of the tuple.