@@ -52,12 +52,6 @@ namespace detail
5252 template <bool B, typename T=void >
5353 using enable_if_t = typename enable_if_impl<B>::template type<T>;
5454
55- // //////////////////////////////////////////////////////////
56- // std::void_t from C++17
57-
58- template <typename ...>
59- using void_t = void ;
60-
6155 // //////////////////////////////////////////////////////////
6256 // std::nonesuch from Library Fundamentals TS v2
6357
@@ -88,7 +82,7 @@ namespace detail
8882 template <typename ...> class Op ,
8983 typename ... Args
9084 >
91- struct detector <Default, void_t <Op<Args...>>, Op, Args...>
85+ struct detector <Default, std:: void_t <Op<Args...>>, Op, Args...>
9286 {
9387 using value_t = std::true_type;
9488 using type = Op<Args...>;
@@ -154,12 +148,12 @@ namespace detail
154148 {};
155149
156150 template <typename Func, typename ... Args>
157- struct is_invocable_impl <void , void_t <invoke_result_t <Func, Args...>>, Func, Args...>:
151+ struct is_invocable_impl <void , std:: void_t <invoke_result_t <Func, Args...>>, Func, Args...>:
158152 std::true_type
159153 {};
160154
161155 template <typename Ret, typename Func, typename ... Args>
162- struct is_invocable_impl <Ret, void_t <invoke_result_t <Func, Args...>>, Func, Args...>:
156+ struct is_invocable_impl <Ret, std:: void_t <invoke_result_t <Func, Args...>>, Func, Args...>:
163157 std::is_convertible<invoke_result_t <Func, Args...>, Ret>
164158 {};
165159
0 commit comments