fix fsm_is_invocable

This commit is contained in:
tqcq 2024-05-17 14:53:49 +08:00
parent 812fb1b927
commit 7a556d8472
2 changed files with 1 additions and 2 deletions

View File

@ -42,7 +42,7 @@ template<class F, class... Args>
using invoke_result_t = std::invoke_result_t<F, Args...>;
template<class F, class... Args>
using is_invocable = std::is_invocable<F, Args...>;
using fms_is_invocable = std::is_invocable<F, Args...>;
#elif __cplusplus >= 201103L || _MSVC_LANG >= 201103L
template<class F, class... Args>
using invoke_result_t = typename std::result_of<F && (Args && ...)>::type;

View File

@ -34,6 +34,5 @@ TEST_SUITE("asio") {
ctx.run();
CHECK_EQ(x, 5);
}
}
}