DUNE PDELab (unstable)
A class augmenting std::tuple by element access via operator[]. More...
#include <dune/common/tuplevector.hh>
Public Member Functions | |
| template<class... TT, class = std::void_t<decltype(Base(std::declval<TT&&>()...))>> | |
| constexpr | TupleVector (TT &&... tt) |
| Construct from a set of arguments. More... | |
| constexpr | TupleVector () |
| Default constructor. | |
| template<std::size_t i, std::enable_if_t<(i< sizeof...(T)), int > = 0> | |
| constexpr decltype(auto) | operator[] (const Dune::index_constant< i > &) const |
| Const access to the tuple elements. | |
| template<std::size_t i, std::enable_if_t<(i< sizeof...(T)), int > = 0> | |
| constexpr decltype(auto) | operator[] (const Dune::index_constant< i > &) |
| Non-const access to the tuple elements. | |
Static Public Member Functions | |
| static constexpr std::size_t | size () |
| Number of elements of the tuple. | |
Related Functions | |
(Note that these are not member functions.) | |
| template<class Child0 , class... Children, std::enable_if_t<(sizeof...(Children) > 0), int > = 0, std::enable_if_t<(...||(not std::is_same_v< Child0, Children >)), int > = 0> | |
| auto | makeDescriptor (Child0 child0, Children... children) |
Detailed Description
template<class... T>
class Dune::TupleVector< T >
class Dune::TupleVector< T >
A class augmenting std::tuple by element access via operator[].
Constructor & Destructor Documentation
◆ TupleVector()
template<class... T>
template<class... TT, class = std::void_t<decltype(Base(std::declval<TT&&>()...))>>
|
inlineconstexpr |
Construct from a set of arguments.
This is only available if you can construct the underlying std::tuple from the same argument list.
Friends And Related Function Documentation
◆ makeDescriptor()
template<class Child0 , class... Children, std::enable_if_t<(sizeof...(Children) > 0), int > = 0, std::enable_if_t<(...||(not std::is_same_v< Child0, Children >)), int > = 0>
|
related |
Generate a descriptor in case the children are not all of the same type. <Children...>
The documentation for this class was generated from the following files:
- dune/common/tuplevector.hh
- dune/functions/functionspacebases/containerdescriptors.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Jan 9, 23:34, 2026)