---
mingw-w64-headers/include/wrl/internal.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/mingw-w64-headers/include/wrl/internal.h b/mingw-w64-headers/include/wrl/internal.h
index 20961ae..2034eab 100644
--- a/mingw-w64-headers/include/wrl/internal.h
+++ b/mingw-w64-headers/include/wrl/internal.h
@@ -15,6 +15,14 @@ namespace Microsoft {
inline void DECLSPEC_NORETURN RaiseException(HRESULT hr, DWORD flags = EXCEPTION_NONCONTINUABLE) throw() {
::RaiseException(static_cast<DWORD>(hr), flags, 0, NULL);
}
+
+ template <bool b, typename T = void>
+ struct EnableIf {};
+
+ template <typename T>
+ struct EnableIf<true, T> {
+ typedef T type;
+ };
}
}
}
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public