Loading src/sled/futures/future.h +1 −1 Original line number Diff line number Diff line Loading @@ -338,7 +338,7 @@ public: return result; } static Future<T, FailureT> successful(const T &value) noexcept static Future<T, FailureT> Successful(const T &value) noexcept { Future<T, FailureT> result = Future<T, FailureT>::Create(); result.FillSuccess(value); Loading src/sled/futures/internal/promise.h +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class Promise { public: using Value = T; Promise() = default; Promise() noexcept = default; Promise(const Promise &) noexcept = default; Promise(Promise &&) noexcept = default; Promise &operator=(const Promise &) noexcept = default; Loading src/sled/nonstd/fsm.h +6 −5 Original line number Diff line number Diff line Loading @@ -61,7 +61,8 @@ struct is_invocable_test { }; template<class F, class... Args> using is_invocable = typename std::integral_constant<bool, sizeof(is_invocable_test::test<F, Args...>(0)) == 1>::type; using fsm_is_invocable = typename std::integral_constant<bool, sizeof(is_invocable_test::test<F, Args...>(0)) == 1>::type; #else #error "fsmlite requires C++11 support." #endif Loading Loading @@ -101,10 +102,10 @@ invoke(M T::*f, T1 &&obj, Args &&...args) template<class F, class Arg1, class Arg2, bool f1 = is_invocable<F>::value, bool f2 = is_invocable<F, Arg1>::value, bool f3 = is_invocable<F, Arg2>::value, bool f4 = is_invocable<F, Arg1, Arg2>::value> bool f1 = fsm_is_invocable<F>::value, bool f2 = fsm_is_invocable<F, Arg1>::value, bool f3 = fsm_is_invocable<F, Arg2>::value, bool f4 = fsm_is_invocable<F, Arg1, Arg2>::value> struct binary_fn_helper; template<class F, class Arg1, class Arg2> Loading Loading
src/sled/futures/future.h +1 −1 Original line number Diff line number Diff line Loading @@ -338,7 +338,7 @@ public: return result; } static Future<T, FailureT> successful(const T &value) noexcept static Future<T, FailureT> Successful(const T &value) noexcept { Future<T, FailureT> result = Future<T, FailureT>::Create(); result.FillSuccess(value); Loading
src/sled/futures/internal/promise.h +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class Promise { public: using Value = T; Promise() = default; Promise() noexcept = default; Promise(const Promise &) noexcept = default; Promise(Promise &&) noexcept = default; Promise &operator=(const Promise &) noexcept = default; Loading
src/sled/nonstd/fsm.h +6 −5 Original line number Diff line number Diff line Loading @@ -61,7 +61,8 @@ struct is_invocable_test { }; template<class F, class... Args> using is_invocable = typename std::integral_constant<bool, sizeof(is_invocable_test::test<F, Args...>(0)) == 1>::type; using fsm_is_invocable = typename std::integral_constant<bool, sizeof(is_invocable_test::test<F, Args...>(0)) == 1>::type; #else #error "fsmlite requires C++11 support." #endif Loading Loading @@ -101,10 +102,10 @@ invoke(M T::*f, T1 &&obj, Args &&...args) template<class F, class Arg1, class Arg2, bool f1 = is_invocable<F>::value, bool f2 = is_invocable<F, Arg1>::value, bool f3 = is_invocable<F, Arg2>::value, bool f4 = is_invocable<F, Arg1, Arg2>::value> bool f1 = fsm_is_invocable<F>::value, bool f2 = fsm_is_invocable<F, Arg1>::value, bool f3 = fsm_is_invocable<F, Arg2>::value, bool f4 = fsm_is_invocable<F, Arg1, Arg2>::value> struct binary_fn_helper; template<class F, class Arg1, class Arg2> Loading