diff --git a/include/fmt/compile.h b/include/fmt/compile.h index 491d6574..cb327057 100644 --- a/include/fmt/compile.h +++ b/include/fmt/compile.h @@ -373,6 +373,13 @@ OutputIt format_default(OutputIt out, T value) { return std::copy(fi.data(), fi.data() + fi.size(), out); } +template +OutputIt format_default(OutputIt out, double value) { + writer w(out); + w.write(value); + return w.out(); +} + template OutputIt format_default(OutputIt out, Char value) { *out++ = value;