15 #ifndef OPENSCENARIO_INTERPRETER__TYPE_TRAITS__IF_HAS_MEMBER_FUNCTION_ACCOMPLISHED_HPP_
16 #define OPENSCENARIO_INTERPRETER__TYPE_TRAITS__IF_HAS_MEMBER_FUNCTION_ACCOMPLISHED_HPP_
22 inline namespace type_traits
24 template <
typename T,
typename =
void>
27 static constexpr
auto invoke(
const T &) noexcept {
return false; }
32 T, typename
std::enable_if<HasMemberFunctionAccomplished<T>::value>::type>
34 static decltype(
auto)
invoke(T &
is) {
return is.accomplished(); }
Definition: escape_sequence.hpp:22
Definition: object.hpp:30
Definition: if_has_member_function_accomplished.hpp:26
static constexpr auto invoke(const T &) noexcept
Definition: if_has_member_function_accomplished.hpp:27