mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-03 07:31:41 +01:00
Improve docs
This commit is contained in:
@@ -42,9 +42,9 @@ surrounded by braces ``{}``. The fields are replaced with formatted arguments
|
||||
in the resulting string. A function taking *fmt* doesn't participate in an
|
||||
overload resolution if the latter is not a string.
|
||||
|
||||
Most formatting functions such as ``fmt::format`` require a format string to
|
||||
Most formatting functions such as `fmt::format` require a format string to
|
||||
be known at compile time, i.e. be a string literal or a ``constexpr`` string.
|
||||
To pass a runtime format string wrap it in ``fmt::runtime``.
|
||||
To pass a runtime format string wrap it in `fmt::runtime`.
|
||||
|
||||
*args* is an argument list representing objects to be formatted.
|
||||
|
||||
@@ -87,6 +87,8 @@ formatting is still possible using ``fmt::vformat``, ``fmt::vprint``, etc.
|
||||
|
||||
.. doxygentypedef:: fmt::format_string
|
||||
|
||||
.. doxygenfunction:: fmt::runtime(const S&)
|
||||
|
||||
Named Arguments
|
||||
---------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user