From d88bc826faa966223580c7ab4a83e5a467fc173b Mon Sep 17 00:00:00 2001 From: Deniz Evrenci Date: Tue, 3 Dec 2019 20:00:35 +0900 Subject: [PATCH] Fix handling of types that are explicitly convertible to std::string_view --- include/fmt/core.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/fmt/core.h b/include/fmt/core.h index e766b3a99550..348131c3e80c 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -913,6 +913,8 @@ template struct arg_mapper { } template ::value && !is_char::value && + !std::is_constructible, + T>::value && !std::is_constructible, T>::value && (has_formatter::value ||