dune-fem 2.8.0
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
utility.hh File Reference
#include <algorithm>
#include <type_traits>

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
 

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)