You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
structproducer<D, I, std::enable_if_t<std::is_base_of_v< ::IUnknown, I> && !is_implements_v<I>>> : I
480
+
structproducer<D, I, std::enable_if_t<is_classic_com_interface<I>::value>> : I
492
481
{
482
+
#ifndef WINRT_IMPL_IUNKNOWN_DEFINED
483
+
static_assert(std::is_void_v<I> /* dependent_false */, "To implement classic COM interfaces, you must #include <unknwn.h> before including C++/WinRT headers.");
484
+
#endif
493
485
};
494
486
495
487
template <typename D, typename I>
496
-
structproducer_convert<D, I, std::enable_if_t<std::is_base_of_v< ::IUnknown, I> && !is_implements_v<I>>> : producer<D, I>
488
+
structproducer_convert<D, I, std::enable_if_t<is_classic_com_interface<I>::value>> : producer<D, I>
0 commit comments