diff options
author | Victor Zverovich <viz@fb.com> | 2020-07-23 07:12:19 -0700 |
---|---|---|
committer | Victor Zverovich <viz@fb.com> | 2020-07-23 07:12:19 -0700 |
commit | 46a63b7087847cf806598cf057ce2089fad7a406 (patch) | |
tree | 2077a9580e20a5947e8e4c7dd9e0682609a3cac7 /doc | |
parent | 430f393d6f775530690e59c28d63e00d513b1131 (diff) | |
download | fmtlib-46a63b7087847cf806598cf057ce2089fad7a406.tar.gz |
Update docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api.rst | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/api.rst b/doc/api.rst index d2f7ab53..45f764ac 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -334,8 +334,6 @@ the value of ``errno`` being preserved by library functions. .. doxygenclass:: fmt::windows_error :members: -.. _formatstrings: - Custom Allocators ----------------- @@ -366,10 +364,10 @@ allocator:: 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. +The allocator will be used for the output container only. Formatting functions +normally don't do any allocations for built-in and string types except for +non-default floating-point formatting that occasionally falls back on +``sprintf``. .. _ranges-api: |