From 147807c9115dc13edc04d5f951b571d64083a9a5 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 21 May 2018 20:30:58 -0700 Subject: [PATCH] Detect integer_sequence support on MSVC --- include/fmt/ranges.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index c04488de..40669302 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -128,7 +128,7 @@ struct is_tuple_like { }; } // namespace internal -#if FMT_HAS_FEATURE(__cpp_lib_integer_sequence) +#if FMT_HAS_FEATURE(__cpp_lib_integer_sequence) || FMT_MSC_VER >= 1900 # define FMT_USE_INTEGER_SEQUENCE 1 #else # define FMT_USE_INTEGER_SEQUENCE 0