Update docs

This commit is contained in:
Victor Zverovich
2020-07-23 07:12:19 -07:00
parent 430f393d6f
commit 46a63b7087

View File

@ -334,8 +334,6 @@ the value of ``errno`` being preserved by library functions.
.. doxygenclass:: fmt::windows_error .. doxygenclass:: fmt::windows_error
:members: :members:
.. _formatstrings:
Custom Allocators Custom Allocators
----------------- -----------------
@ -366,10 +364,10 @@ 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 The allocator will be used for the output container only. Formatting functions
arguments, the container that stores pointers to them will be allocated using normally don't do any allocations for built-in and string types except for
the default allocator. Also floating-point formatting falls back on ``sprintf`` non-default floating-point formatting that occasionally falls back on
which may do allocations. ``sprintf``.
.. _ranges-api: .. _ranges-api: