23 template <
class TProcess,
typename TReturn,
typename... TArg>
32 static std::false_type
test(...);
36 static decltype(testSignature(&T::template doCascadeEquations<TArg...>))
test(
41 static decltype(testSignature(&T::doCascadeEquations))
test(std::nullptr_t);
48 using type = decltype(test<std::decay_t<TProcess>>(
nullptr));
49 static const bool value = type::value;
56 template <
class TProcess,
typename TReturn,
typename... TArg>
bool constexpr has_method_doCascadeEquations_v
value traits type.
traits test for CascadeEquationsProcess::doCascadeEquations method.
static decltype(testSignature(&T::template doCascadeEquations< TArg... >)) test(std::nullptr_t)
templated parameter option
static decltype(testSignature(&T::doCascadeEquations)) test(std::nullptr_t)
non templated parameter option
`, since they are used everywhere as integral part of the framework.
Helper traits class (partial) for static compile time checking.