version 3.10-dev
common/typetraits/typetraits.hh File Reference

Type traits. More...

#include <type_traits>

Go to the source code of this file.

Classes

struct  Dumux::AlwaysFalse< T >
 Template which always yields a false value. More...
 

Namespaces

namespace  Dumux
 

Typedefs

using Dumux::Noop = decltype(noop)
 
template<typename Default , typename T >
using Dumux::NonVoidOr = std::conditional_t<!std::is_void_v< T >, T, Default >
 Helper template to select type T if it is not void or fall back to the given default type otherwise. More...
 

Variables

constexpr auto Dumux::noop = [] (auto...) {}
 Function that performs no operation. More...
 
Include dependency graph for common/typetraits/typetraits.hh: