Commit 7b478f9d authored by Victor Zverovich's avatar Victor Zverovich

Simplify example

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