We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9317801 commit abbb273Copy full SHA for abbb273
libcxx/include/__type_traits/invoke.h
@@ -67,6 +67,11 @@ _LIBCPP_BEGIN_NAMESPACE_STD
67
template <class... _Args>
68
using __invoke_result_t = decltype(__builtin_invoke(std::declval<_Args>()...));
69
70
+template <class... _Args>
71
+struct __invoke_result {
72
+ using type _LIBCPP_NODEBUG = __invoke_result_t<_Args...>;
73
+};
74
+
75
76
__invoke_result_t<_Args...> __invoke(_Args&&... __args)
77
_NOEXCEPT_(noexcept(__builtin_invoke(std::forward<_Args>(__args)...))) {
0 commit comments