diff --git a/include/fmt/base.h b/include/fmt/base.h index b5d1c52e..001296fb 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -2146,7 +2146,8 @@ template class value { template ::value)> value(const T& named_arg) : value(named_arg.value) {} - template ::value)> + template ::value || !FMT_BUILTIN_TYPES)> FMT_CONSTEXPR20 FMT_INLINE value(T& x) : value(x, custom_tag()) {} FMT_ALWAYS_INLINE value(const named_arg_info* args, size_t size)