Clarify the use of allocators

This commit is contained in:
Victor Zverovich 2018-05-09 06:43:54 -07:00
parent d72d046254
commit f0ae725721

View File

@ -200,6 +200,11 @@ allocator::
return vformat(alloc, format_str, fmt::make_format_args(args...)); return vformat(alloc, format_str, fmt::make_format_args(args...));
} }
The allocator will be used for the output container only. If you are using named
arguments, the container that stores pointers to them will be allocated using
the default allocator. Also floating-point formatting falls back on ``sprintf``
which may do allocations.
Custom formatting of built-in types Custom formatting of built-in types
----------------------------------- -----------------------------------