Skip to content

Commit

Permalink
Update signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Nov 8, 2020
1 parent beaff39 commit 4c2d637
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,20 @@ participate in an overload resolution if the latter is not a string.
.. doxygenfunction:: format(const S &format_str, Args&&... args)
.. doxygenfunction:: vformat(const S &format_str, basic_format_args<buffer_context<type_identity_t<Char>>> args)

.. doxygenfunction:: format_to(OutputIt out, const S &, Args&&... args)
.. doxygenfunction:: format_to(OutputIt out, const S &format_str, Args&&... args)
.. doxygenfunction:: format_to_n(OutputIt out, size_t n, const S&, const Args&... args)
.. doxygenfunction:: formatted_size(string_view format_str, Args&&... args)

.. doxygenstruct:: fmt::format_to_n_result
:members:

.. _print:

.. doxygenfunction:: print(string_view format_str, const Args&... args)
.. doxygenfunction:: print(const S &format_str, Args&&... args)
.. doxygenfunction:: vprint(string_view, format_args)

.. doxygenfunction:: print(std::FILE*, string_view, format_args)
.. doxygenfunction:: vprint(std::FILE *, string_view, format_args)

.. doxygenstruct:: fmt::format_to_n_result
:members:
.. doxygenfunction:: print(std::FILE *f, const S &format_str, Args&&... args)
.. doxygenfunction:: vprint(std::FILE*, string_view, format_args)

Named Arguments
---------------
Expand Down Expand Up @@ -489,7 +489,7 @@ user-defined types that have overloaded ``operator<<``::
std::string s = fmt::format("The date is {}", date(2012, 12, 9));
// s == "The date is 2012-12-9"

.. doxygenfunction:: print(std::basic_ostream<Char>&, const S&, Args&&...)
.. doxygenfunction:: print(std::basic_ostream<Char> &os, const S &format_str, Args&&... args)

.. _printf-api:

Expand Down

0 comments on commit 4c2d637

Please sign in to comment.