mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-23 09:49:42 +00:00
Clarify that format_to[_n] do not append a terminating null
This commit is contained in:
parent
cb0f177c35
commit
c1313c2057
@ -2994,7 +2994,7 @@ auto vformat_to(OutputIt out, string_view fmt, format_args args) -> OutputIt {
|
||||
\rst
|
||||
Formats ``args`` according to specifications in ``fmt``, writes the result to
|
||||
the output iterator ``out`` and returns the iterator past the end of the output
|
||||
range.
|
||||
range. `format_to` does not append a terminating null character.
|
||||
|
||||
**Example**::
|
||||
|
||||
@ -3032,6 +3032,7 @@ auto vformat_to_n(OutputIt out, size_t n, string_view fmt, format_args args)
|
||||
Formats ``args`` according to specifications in ``fmt``, writes up to ``n``
|
||||
characters of the result to the output iterator ``out`` and returns the total
|
||||
(not truncated) output size and the iterator past the end of the output range.
|
||||
`format_to_n` does not append a terminating null character.
|
||||
\endrst
|
||||
*/
|
||||
template <typename OutputIt, typename... T,
|
||||
|
Loading…
Reference in New Issue
Block a user