3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
isvalid.hh File Reference

A helper function for class member function introspection. More...

#include <type_traits>

Go to the source code of this file.

Description

A helper function for class member function introspection.

Note
Follows the description by Jean Guegant on https://jguegant.github.io/blogs/tech/sfinae-introduction.html

Namespaces

namespace  Dumux

Functions

template<typename Expression>
constexpr auto Dumux::isValid (const Expression &t)
 A function that creates a test functor to do class member introspection at compile time.