Clarify that format_string should be used instead of fstring

This commit is contained in:
Victor Zverovich 2024-12-26 09:39:01 -08:00
parent da24fac101
commit 11742a09c7

View File

@ -2659,7 +2659,8 @@ template <typename Char = char> 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 <typename... T> struct fstring {
private:
static constexpr int num_static_named_args =