Type traits.
#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. | |
Variables | |
| constexpr auto | Dumux::noop = [] (auto...) {} |
| Function that performs no operation. | |