mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 06:21:00 +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`.
|
can be omitted in which case it defaults to `~fmt::context`.
|
||||||
\endrst
|
\endrst
|
||||||
*/
|
*/
|
||||||
template <typename Context, typename ...Args>
|
template <typename Context = format_context, typename ...Args>
|
||||||
inline format_arg_store<Context, Args...>
|
inline format_arg_store<Context, Args...>
|
||||||
make_format_args(const Args &... args) { return {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. */
|
/** Formatting arguments. */
|
||||||
template <typename Context>
|
template <typename Context>
|
||||||
class basic_format_args {
|
class basic_format_args {
|
||||||
|
Loading…
Reference in New Issue
Block a user