Dune::TupleVector< T > Class Template Reference
[Utilities]

A class augmenting std::tuple by element access via operator[]. More...

#include <dune/common/tuplevector.hh>

List of all members.

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.

Detailed Description

template<class... T>
class Dune::TupleVector< T >

A class augmenting std::tuple by element access via operator[].


Constructor & Destructor Documentation

template<class... T>
template<class... TT>
constexpr Dune::TupleVector< T >::TupleVector ( TT &&...  tt  )  [inline]

Construct from a set of arguments.

template<class... T>
constexpr Dune::TupleVector< T >::TupleVector (  )  [inline]

Default constructor.


Member Function Documentation

template<class... T>
template<std::size_t i>
Dune::TupleVector< T >::decltype ( auto   )  const [inline]

Non-const access to the tuple elements.

template<class... T>
template<std::size_t i>
constexpr Dune::TupleVector< T >::decltype ( auto   )  const [inline]

Const access to the tuple elements.

template<class... T>
static constexpr std::size_t Dune::TupleVector< T >::size (  )  [inline, static]

Number of elements of the tuple.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 25 Mar 2018 for dune-common by  doxygen 1.6.1