DUNE-ACFEM (unstable)

++-Templates

Additional C++ template stuff needed in some places. More...

Modules

 TemplateAlgorithms
 Various template meta-programming stuff (non-tuple, non-sequence).
 
 .
 
 Type-Traits Helpers
 Some convenience type-traits in order to help doing SFINAE things.
 
 TupleUtilities
 Some additional utitliy functions for tuple-likes and integer-sequences.
 

Classes

class  Dune::ACFem::ContainerTuple< Containers >
 Create a tuple of values from a tuple of containers. More...
 

Functions

template<class F , class O , class Tuple , std::size_t... I>
constexpr decltype(auto) Dune::ACFem::applyMethod (F &&f, O &&o, Tuple &&t, std::index_sequence< I... >)
 Apply a method through a member function pointer. More...
 
template<class F , class O , class Tuple >
constexpr decltype(auto) Dune::ACFem::applyMethod (F &&f, O &&o, Tuple &&t)
 Apply a method through a member function pointer. More...
 
template<char... c>
constexpr auto Dune::ACFem::Literals::operator""_c ()
 Parse a string literal into an integral constant.
 
template<char... c>
constexpr auto Dune::ACFem::Literals::operator""_f ()
 Parse a string literal into a FractionConstant with denominator 1.
 

Detailed Description

Additional C++ template stuff needed in some places.

Warning
Chances are very high that things defined here are not needed at all or already have been solved in a much more elegant fashion elsewhere. PLEASE FIXME!!!

Function Documentation

◆ applyMethod() [1/2]

template<class F , class O , class Tuple >
constexpr decltype(auto) Dune::ACFem::applyMethod ( F &&  f,
O &&  o,
Tuple &&  t 
)
constexpr

Apply a method through a member function pointer.

This will unpack the arguments in t and pass them to (o.*f)().

◆ applyMethod() [2/2]

template<class F , class O , class Tuple , std::size_t... I>
constexpr decltype(auto) Dune::ACFem::applyMethod ( F &&  f,
O &&  o,
Tuple &&  t,
std::index_sequence< I... >   
)
constexpr

Apply a method through a member function pointer.

This will unpack the arguments in t according to I and pass them to (o.*f)().

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Mar 28, 23:30, 2024)