Simplify example

This commit is contained in:
Victor Zverovich 2020-01-02 07:31:45 -10:00
parent c85efef312
commit 7b478f9dec

View File

@ -1262,8 +1262,8 @@ inline format_arg_store<Context, Args...> make_format_args(
should only be used as a parameter type in type-erased functions such as
``vformat``::
void vlog(fmt::string_view format_str, fmt::format_args args); // OK
fmt::format_args args = fmt::make_format_args(42); // Error: dangling reference
void vlog(string_view format_str, format_args args); // OK
format_args args = make_format_args(42); // Error: dangling reference
\endrst
*/
template <typename Context> class basic_format_args {