Skip to content

Commit 449c839

Browse files
committed
Try to fix CI
1 parent dfbe219 commit 449c839

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

libcxx/include/__type_traits/invoke.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,16 @@ _LIBCPP_BEGIN_NAMESPACE_STD
6767
template <class... _Args>
6868
using __invoke_result_t = decltype(__builtin_invoke(std::declval<_Args>()...));
6969

70+
template <class, class... _Args>
71+
struct __invoke_result_impl {};
72+
7073
template <class... _Args>
71-
struct __invoke_result {
74+
struct __invoke_result_impl<__void_t<__invoke_result_t<_Args...> >, _Args...> {
7275
using type _LIBCPP_NODEBUG = __invoke_result_t<_Args...>;
73-
};
76+
}
77+
78+
template <class... _Args>
79+
using __invoke_result = __invoke_result_impl<void, _Args...>;
7480

7581
template <class... _Args>
7682
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR __invoke_result_t<_Args...> __invoke(_Args&&... __args)

0 commit comments

Comments
 (0)