From 36161284e246b400a7967df2de98cba1bf9f0fbe Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 28 Oct 2018 09:28:51 -0700 Subject: [PATCH] Update docs --- doc/api.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index c0a99fd6..90cfd744 100644 --- a/doc/api.rst +++ b/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)); // 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: @@ -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 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&...)