3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::Detail::hasState Struct Reference

helper struct detecting if a PrimaryVariables object has a state() function More...

#include <dumux/common/typetraits/state.hh>

Description

helper struct detecting if a PrimaryVariables object has a state() function

Public Member Functions

template<class PrimaryVariables >
auto operator() (PrimaryVariables &&priVars) -> decltype(priVars.state())
 

Member Function Documentation

◆ operator()()

template<class PrimaryVariables >
auto Dumux::Detail::hasState::operator() ( PrimaryVariables &&  priVars) -> decltype(priVars.state())
inline

The documentation for this struct was generated from the following file: