Commit 6c95fb35 authored by Victor Zverovich's avatar Victor Zverovich

Default Context to format_context

parent 16b78ee6
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment