From f5d39e634ecd8fa0124b53195f5d645613ca23b5 Mon Sep 17 00:00:00 2001 From: ricco19 Date: Mon, 18 Mar 2019 10:33:28 -0400 Subject: [PATCH] Forward declare is_string specializations --- include/fmt/core.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/fmt/core.h b/include/fmt/core.h index 76d6ccd181f1..9c63517ceaa3 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -618,6 +618,10 @@ struct is_string decltype(to_string_view(declval()))>::value> { }; +// Forward declare FILE* specialization defined in color.h +template <> struct is_string; +template <> struct is_string; + template struct char_t { typedef decltype(to_string_view(declval())) result; typedef typename result::char_type type;