diff --git a/include/fmt/base.h b/include/fmt/base.h index 3c629859..49868b6d 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -1872,10 +1872,10 @@ template struct has_insert : std::false_type {}; template -struct has_insert()) - .insert({}, std::declval(), - std::declval()))>> +struct has_insert< + OutputIt, T, + void_t()) + .insert({}, std::declval(), std::declval()))>> : std::true_type {}; // An optimized version of std::copy with the output value type (T).