From 7b05da767bd8faeb5ef0f4ad2e9e836cf69d4c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kr=C3=BCgler?= Date: Wed, 6 Jul 2022 20:22:47 +0200 Subject: [PATCH] Reintroduce previous workaround but restrict to VS 2015 for now --- include/fmt/ranges.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index e138ff55..d06de6a2 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -413,10 +413,13 @@ struct formatter< enable_if_t< conjunction, detail::is_not_recursive_range, +// Workaround a bug in MSVC 2015 and earlier. +#if !FMT_MSC_VERSION || FMT_MSC_VERSION > 1900 disjunction< detail::is_formattable_delayed, detail::has_fallback_formatter_delayed > +#endif >::value >> {