15 #ifndef OPENSCENARIO_INTERPRETER__TYPE_TRAITS__IF_HAS_MEMBER_FUNCTION_DESCRIPTION_HPP_
16 #define OPENSCENARIO_INTERPRETER__TYPE_TRAITS__IF_HAS_MEMBER_FUNCTION_DESCRIPTION_HPP_
22 inline namespace type_traits
24 template <
typename T,
typename =
void>
32 T, typename
std::enable_if<HasMemberFunctionDescription<T>::value>::type>
34 static constexpr decltype(
auto)
invoke(const T & then) noexcept {
return then.description(); }
std::string string
Definition: junit5.hpp:26
Definition: if_has_member_function_description.hpp:26
static auto invoke(const T &) noexcept -> std::string
Definition: if_has_member_function_description.hpp:27