|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
utility.hh File Reference
Go to the source code of this file.
Classes | |
| struct | Dune::Std::are_all_same< T > |
| struct | Dune::Std::are_all_same< U, V, T ... > |
| struct | Dune::Std::is_pod< T > |
Namespaces | |
| namespace | Dune |
| namespace | Dune::Std |
| namespace | Dune::Fem |
Macros | |
| #define | GENERATE_MEMBER_CHECK(MemberType) |
Functions | |
| template<class T , std::enable_if_t< std::is_arithmetic< std::decay_t< T > >::value, int > = 0> | |
| static constexpr std::decay_t< T > | Dune::Std::sum (T a) |
| template<class T , T a> | |
| static constexpr std::decay_t< T > | Dune::Std::sum (std::integral_constant< T, a >) |
| template<class T , std::enable_if_t< std::is_enum< std::decay_t< T > >::value, int > = 0> | |
| static constexpr std::underlying_type_t< std::decay_t< T > > | Dune::Std::sum (T a) |
| template<class T , class ... U> | |
| static constexpr auto | Dune::Std::sum (T a, U ... b) |
| template<class T > | |
| static constexpr T | Dune::Std::sub (T a) |
| template<class T , class ... U> | |
| static constexpr T | Dune::Std::sub (T a, U ... b) |
| template<class T > | |
| static constexpr T | Dune::Std::max (T a) |
| template<class T , class ... U> | |
| static constexpr T | Dune::Std::max (T a, U ... b) |
| template<class T > | |
| static constexpr T | Dune::Std::min (T a) |
| template<class T , class ... U> | |
| static constexpr T | Dune::Std::min (T a, U ... b) |
| static constexpr bool | Dune::Std::Or () |
| template<class ... U> | |
| static constexpr bool | Dune::Std::Or (bool a, U ... b) |
| static constexpr bool | Dune::Std::And () |
| template<class B , class ... U> | |
| static constexpr bool | Dune::Std::And (B a, U ... b) |
Macro Definition Documentation
◆ GENERATE_MEMBER_CHECK
| #define GENERATE_MEMBER_CHECK | ( | MemberType | ) |
Value:
template <class T> \
class hasMember_##MemberType {\
template <class U>\
template <class U>\
static std::false_type foo(...);\
public:\
static const bool value = decltype(foo<T>(nullptr))::value;\
};
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8