mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-27 11:40:26 +00:00
Update docs
This commit is contained in:
parent
977d887a4e
commit
0765e7284c
12
doc/api.rst
12
doc/api.rst
@ -17,6 +17,7 @@ The {fmt} library API consists of the following parts:
|
||||
* :ref:`fmt/color.h <color-api>`: terminal color and text style
|
||||
* :ref:`fmt/os.h <os-api>`: system APIs
|
||||
* :ref:`fmt/ostream.h <ostream-api>`: ``std::ostream`` support
|
||||
* :ref:`fmt/args.h <args-api>`: dynamic format arguments
|
||||
* :ref:`fmt/printf.h <printf-api>`: ``printf`` formatting
|
||||
* :ref:`fmt/xchar.h <xchar-api>`: optional ``wchar_t`` support
|
||||
|
||||
@ -604,6 +605,17 @@ In order to make a type formattable via ``std::ostream`` you should provide a
|
||||
|
||||
.. doxygenfunction:: print(std::ostream &os, format_string<T...> fmt, T&&... args)
|
||||
|
||||
.. _args-api:
|
||||
|
||||
Dynamic Format Arguments
|
||||
========================
|
||||
|
||||
The header ``fmt/args.h`` provides ``dynamic_format_arg_store``, a builder-like
|
||||
API that can be used to construct format argument lists dynamically.
|
||||
|
||||
.. doxygenclass:: fmt::dynamic_format_arg_store
|
||||
:members:
|
||||
|
||||
.. _printf-api:
|
||||
|
||||
``printf`` Formatting
|
||||
|
Loading…
Reference in New Issue
Block a user