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 e814b5f commit b8192d2Copy full SHA for b8192d2
include/fmt/base.h
@@ -326,8 +326,9 @@ using underlying_t = typename std::underlying_type<T>::type;
326
template <typename T> using decay_t = typename std::decay<T>::type;
327
using nullptr_t = decltype(nullptr);
328
329
-#if FMT_GCC_VERSION && FMT_GCC_VERSION < 500
330
-// A workaround for gcc 4.9 to make void_t work in a SFINAE context.
+#if (FMT_GCC_VERSION && FMT_GCC_VERSION < 500) || FMT_MSC_VERSION
+// A workaround for gcc 4.9 and MSVC v141 to make void_t work in a SFINAE
331
+// context.
332
template <typename...> struct void_t_impl {
333
using type = void;
334
};
0 commit comments