mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-27 11:40:26 +00:00
Improve docs
This commit is contained in:
parent
71677e5204
commit
cb0f177c35
@ -39,9 +39,9 @@ They take *fmt* and *args* as arguments.
|
||||
|
||||
*fmt* is a format string that contains literal text and replacement fields
|
||||
surrounded by braces ``{}``. The fields are replaced with formatted arguments
|
||||
in the resulting string. `fmt::format_string` is a format string which can be
|
||||
constructed from a string literal or a ``constexpr`` string and is checked at
|
||||
compile time in C++20. To pass a runtime format string wrap it in
|
||||
in the resulting string. `~fmt::format_string` is a format string which can be
|
||||
implicitly constructed from a string literal or a ``constexpr`` string and is
|
||||
checked at compile time in C++20. To pass a runtime format string wrap it in
|
||||
`fmt::runtime`.
|
||||
|
||||
*args* is an argument list representing objects to be formatted.
|
||||
@ -61,7 +61,7 @@ compile time in C++20. To pass a runtime format string wrap it in
|
||||
.. _print:
|
||||
|
||||
.. doxygenfunction:: fmt::print(format_string<T...> fmt, T&&... args)
|
||||
.. doxygenfunction:: vprint(string_view fmt, format_args args)
|
||||
.. doxygenfunction:: fmt::vprint(string_view fmt, format_args args)
|
||||
|
||||
.. doxygenfunction:: print(std::FILE *f, format_string<T...> fmt, T&&... args)
|
||||
.. doxygenfunction:: vprint(std::FILE *f, string_view fmt, format_args args)
|
||||
|
Loading…
Reference in New Issue
Block a user