fix fsm_is_invocable
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Failing after 2m1s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 2m1s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m14s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 2m26s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m30s
linux-x64-gcc / linux-gcc (Debug) (push) Has been cancelled
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Failing after 2m1s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 2m1s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m14s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 2m26s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m30s
linux-x64-gcc / linux-gcc (Debug) (push) Has been cancelled
This commit is contained in:
parent
7a556d8472
commit
4c34848075
@ -42,7 +42,7 @@ template<class F, class... Args>
|
|||||||
using invoke_result_t = std::invoke_result_t<F, Args...>;
|
using invoke_result_t = std::invoke_result_t<F, Args...>;
|
||||||
|
|
||||||
template<class F, class... Args>
|
template<class F, class... Args>
|
||||||
using fms_is_invocable = std::is_invocable<F, Args...>;
|
using fsm_is_invocable = std::is_invocable<F, Args...>;
|
||||||
#elif __cplusplus >= 201103L || _MSVC_LANG >= 201103L
|
#elif __cplusplus >= 201103L || _MSVC_LANG >= 201103L
|
||||||
template<class F, class... Args>
|
template<class F, class... Args>
|
||||||
using invoke_result_t = typename std::result_of<F && (Args && ...)>::type;
|
using invoke_result_t = typename std::result_of<F && (Args && ...)>::type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user