mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Clarify that format_string should be used instead of fstring
This commit is contained in:
@ -2659,7 +2659,8 @@ template <typename Char = char> struct runtime_format_string {
|
|||||||
*/
|
*/
|
||||||
inline auto runtime(string_view s) -> runtime_format_string<> { return {{s}}; }
|
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 {
|
template <typename... T> struct fstring {
|
||||||
private:
|
private:
|
||||||
static constexpr int num_static_named_args =
|
static constexpr int num_static_named_args =
|
||||||
|
Reference in New Issue
Block a user