mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Simplify example
This commit is contained in:
parent
c85efef312
commit
7b478f9dec
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user