You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be worthwhile to make it very clear in the documentation that make_format_args will not make copies of anything, including named_arg arguments created on-the-fly with fmt::arg().
This looks good naively, will compile, and will actually (seem to) work correctly:
It might be worthwhile to make it very clear in the documentation that
make_format_args
will not make copies of anything, includingnamed_arg
arguments created on-the-fly withfmt::arg()
.This looks good naively, will compile, and will actually (seem to) work correctly:
It does, however, dereference parts of the stack that have been freed already...
Correct would be:
The text was updated successfully, but these errors were encountered: