This commit is contained in:
Victor Zverovich 2024-01-13 19:03:23 -08:00
parent cacdf1439f
commit 56fa4d61f6
2 changed files with 4 additions and 5 deletions

View File

@ -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 Note that ``vlog`` is not parameterized on argument types which improves compile
times and reduces binary code size compared to a fully parameterized version. times and reduces binary code size compared to a fully parameterized version.
.. doxygenfunction:: fmt::make_format_args(T&... args) -> detail::format_arg_store<Context, NUM_ARGS, 0, DESC> .. doxygenfunction:: make_format_args(T&... args)
.. doxygenclass:: fmt::format_arg_store
:members:
.. doxygenclass:: fmt::basic_format_args .. doxygenclass:: fmt::basic_format_args
:members: :members:
@ -583,7 +580,7 @@ Terminal Color and Text Style
``fmt/color.h`` provides support for terminal color and text style output. ``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<T...> fmt, T&&... args)
.. doxygenfunction:: fg(detail::color_type) .. doxygenfunction:: fg(detail::color_type)

View File

@ -1953,6 +1953,7 @@ constexpr auto make_format_args(T&... args)
args)...}}; args)...}};
} }
#ifndef FMT_DOC
template <typename Context = format_context, typename... T, template <typename Context = format_context, typename... T,
size_t NUM_NAMED_ARGS = detail::count_named_args<T...>(), size_t NUM_NAMED_ARGS = detail::count_named_args<T...>(),
unsigned long long DESC = unsigned long long DESC =
@ -1963,6 +1964,7 @@ constexpr auto make_format_args(T&... args)
-> detail::format_arg_store<Context, sizeof...(T), NUM_NAMED_ARGS, DESC> { -> detail::format_arg_store<Context, sizeof...(T), NUM_NAMED_ARGS, DESC> {
return {args...}; return {args...};
} }
#endif
/** /**
\rst \rst