mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-05 02:55:21 +00:00
Improve API safety
This commit is contained in:
parent
93d7cb12f1
commit
8f18e72df5
@ -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...};
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user