From 56fa4d61f6e0ccf3ab5610ee81165a91ed33d664 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 13 Jan 2024 19:03:23 -0800 Subject: [PATCH] Fix docs --- doc/api.rst | 7 ++----- include/fmt/base.h | 2 ++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index 1e507b12..cba434f6 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -293,10 +293,7 @@ binary footprint, for example (https://godbolt.org/z/vajfWEG4b): Note that ``vlog`` is not parameterized on argument types which improves compile times and reduces binary code size compared to a fully parameterized version. -.. doxygenfunction:: fmt::make_format_args(T&... args) -> detail::format_arg_store - -.. doxygenclass:: fmt::format_arg_store - :members: +.. doxygenfunction:: make_format_args(T&... args) .. doxygenclass:: fmt::basic_format_args :members: @@ -583,7 +580,7 @@ Terminal Color and Text Style ``fmt/color.h`` provides support for terminal color and text style output. -.. doxygenfunction:: print(const text_style &ts, const S &format_str, const Args&... args) +.. doxygenfunction:: print(const text_style &ts, format_string fmt, T&&... args) .. doxygenfunction:: fg(detail::color_type) diff --git a/include/fmt/base.h b/include/fmt/base.h index e7597abf..402fd315 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -1953,6 +1953,7 @@ constexpr auto make_format_args(T&... args) args)...}}; } +#ifndef FMT_DOC template (), unsigned long long DESC = @@ -1963,6 +1964,7 @@ constexpr auto make_format_args(T&... args) -> detail::format_arg_store { return {args...}; } +#endif /** \rst