15 #ifndef OPENSCENARIO_INTERPRETER__TYPE_TRAITS__IF_HAS_MEMBER_FUNCTION_EVALUATE_HPP_
16 #define OPENSCENARIO_INTERPRETER__TYPE_TRAITS__IF_HAS_MEMBER_FUNCTION_EVALUATE_HPP_
23 inline namespace type_traits
25 template <
typename T,
typename =
void>
28 template <
typename Result>
31 return as_self_evaluating;
37 T, typename
std::enable_if<HasMemberFunctionEvaluate<T>::value>::type>
39 template <
typename Result>
42 return then.evaluate();
Result
Definition: cpp_scenario_node.hpp:28
Definition: escape_sequence.hpp:22
static constexpr auto invoke(T &then, const Result &) -> Result
Definition: if_has_member_function_evaluate.hpp:40
Definition: if_has_member_function_evaluate.hpp:27
static constexpr auto invoke(T &, const Result &as_self_evaluating) -> Result
Definition: if_has_member_function_evaluate.hpp:29