dune-functions 2.10
|
Descriptor for arrays with all children identical and the number of children a static size. More...
#include <dune/functions/functionspacebases/containerdescriptors.hh>
Public Member Functions | |
template<class C = Child, std::enable_if_t< std::is_default_constructible_v< C >, int > = 0> | |
UniformArray () | |
Default constructor. Is enable if the child-type is default constructible. | |
UniformArray (Child child) | |
Constructor that stores a single child only. | |
template<class Index > | |
const Child & | operator[] (const Index &) const |
Access the i'th child that is always the same, i.e., child_ . | |
Static Public Member Functions | |
static constexpr std::size_t | size () |
The static size information, i.e., number of children. | |
Descriptor for arrays with all children identical and the number of children a static size.
|
inline |
Default constructor. Is enable if the child-type is default constructible.
|
inlineexplicit |
Constructor that stores a single child only.
|
inline |
Access the i'th child that is always the same, i.e., child_
.
|
inlinestaticconstexpr |
The static size information, i.e., number of children.