Improve API safety

This commit is contained in:
Victor Zverovich 2023-05-11 06:32:58 -07:00
parent 93d7cb12f1
commit 8f18e72df5

View File

@ -1839,9 +1839,9 @@ class format_arg_store
\endrst
*/
template <typename Context = format_context, typename... T>
constexpr auto make_format_args(T&&... args)
constexpr auto make_format_args(T&... args)
-> format_arg_store<Context, remove_cvref_t<T>...> {
return {FMT_FORWARD(args)...};
return {args...};
}
/**