version 3.9-dev
Dumux::Detail::hasState Struct Reference

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

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

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: