mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Update docs
This commit is contained in:
parent
38f355d87b
commit
36161284e2
10
doc/api.rst
10
doc/api.rst
@ -350,7 +350,7 @@ user-defined types that have overloaded ``operator<<``::
|
|||||||
std::string s = fmt::format("The date is {}", date(2012, 12, 9));
|
std::string s = fmt::format("The date is {}", date(2012, 12, 9));
|
||||||
// s == "The date is 2012-12-9"
|
// s == "The date is 2012-12-9"
|
||||||
|
|
||||||
.. doxygenfunction:: print(std::ostream&, string_view, const Args&...)
|
.. doxygenfunction:: print(std::ostream&, const S&, const Args&...)
|
||||||
|
|
||||||
.. _printf-api:
|
.. _printf-api:
|
||||||
|
|
||||||
@ -364,10 +364,10 @@ the POSIX extension for positional arguments. Unlike their standard
|
|||||||
counterparts, the ``fmt`` functions are type-safe and throw an exception if an
|
counterparts, the ``fmt`` functions are type-safe and throw an exception if an
|
||||||
argument type doesn't match its format specification.
|
argument type doesn't match its format specification.
|
||||||
|
|
||||||
.. doxygenfunction:: printf(string_view, const Args&...)
|
.. doxygenfunction:: printf(const S&, const Args&...)
|
||||||
|
|
||||||
.. doxygenfunction:: fprintf(std::FILE *, string_view, const Args&...)
|
.. doxygenfunction:: fprintf(std::FILE *, const S&, const Args&...)
|
||||||
|
|
||||||
.. doxygenfunction:: fprintf(std::ostream&, string_view, const Args&...)
|
.. doxygenfunction:: fprintf(std::ostream&, const S&, const Args&...)
|
||||||
|
|
||||||
.. doxygenfunction:: sprintf(string_view, const Args&...)
|
.. doxygenfunction:: sprintf(const S&, const Args&...)
|
||||||
|
Loading…
Reference in New Issue
Block a user