diff --git a/include/fmt/base.h b/include/fmt/base.h index 2266cb7c..8a4e8818 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -2659,7 +2659,8 @@ template struct runtime_format_string { */ inline auto runtime(string_view s) -> runtime_format_string<> { return {{s}}; } -/// A compile-time format string. +/// A compile-time format string. Use `format_string` in the public API to +/// prevent type deduction. template struct fstring { private: static constexpr int num_static_named_args =