mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Update docs
This commit is contained in:
10
doc/api.rst
10
doc/api.rst
@ -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:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user