mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-07 08:31:16 +00:00
Default Context to format_context
This commit is contained in:
parent
16b78ee629
commit
6c95fb3562
@ -1184,14 +1184,10 @@ const long long format_arg_store<Context, Args...>::TYPES = get_types();
|
||||
can be omitted in which case it defaults to `~fmt::context`.
|
||||
\endrst
|
||||
*/
|
||||
template <typename Context, typename ...Args>
|
||||
template <typename Context = format_context, typename ...Args>
|
||||
inline format_arg_store<Context, Args...>
|
||||
make_format_args(const Args &... args) { return {args...}; }
|
||||
|
||||
template <typename ...Args>
|
||||
inline format_arg_store<format_context, Args...>
|
||||
make_format_args(const Args &... args) { return {args...}; }
|
||||
|
||||
/** Formatting arguments. */
|
||||
template <typename Context>
|
||||
class basic_format_args {
|
||||
|
Loading…
Reference in New Issue
Block a user