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.
Synopses
Declared in <fmt/base.h>
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.
template<
typename OutputIt,
typename... T>
[[always_inline]]
format_to_n_result<OutputIt>
format_to_n(
OutputIt out,
size_t n,
format_string<T...> fmt,
T...&&... args);
template<
typename OutputIt,
typename S,
typename... T>
format_to_n_result<OutputIt>
format_to_n(
OutputIt out,
size_t n,
S const& fmt,
T...&&... args);
template<
typename OutputIt,
typename S,
typename... T,
typename Char = /* implementation-defined */>
format_to_n_result<OutputIt>
format_to_n(
OutputIt out,
size_t n,
S const& fmt,
T...&&... args);
Created with MrDocs