Synopses
Declared in <fmt/base.h>
template<
typename OutputIt,
typename... T>
OutputIt
format_to(
OutputIt out,
wformat_string<T...> fmt,
T...&&... args);
» more...
template<
size_t N,
typename... T>
[[always_inline]]
format_to_result
format_to(
char(& out)[],
format_string<T...> fmt,
T...&&... args);
» more...
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. format_to
does not append a terminating null character.
template<
typename OutputIt,
typename... T>
[[always_inline]]
remove_cvref_t<OutputIt>
format_to(
OutputIt&& out,
format_string<T...> fmt,
T...&&... args);
» more...
template<
typename OutputIt,
typename CompiledFormat,
typename... T>
[[always_inline]]
constexpr
OutputIt
format_to(
OutputIt out,
CompiledFormat const& cf,
T const...&... args);
» more...
template<
typename OutputIt,
typename S,
typename... T>
constexpr
OutputIt
format_to(
OutputIt out,
S const&,
T...&&... args);
» more...
template<
typename OutputIt,
typename S,
typename... T,
typename Char = /* implementation-defined */>
OutputIt
format_to(
OutputIt out,
S const& fmt,
T...&&... args);
» more...
template<
typename OutputIt,
typename... T>
[[always_inline]]
OutputIt
format_to(
OutputIt out,
locale_ref loc,
format_string<T...> fmt,
T...&&... args);
» more...
Formats arguments with the given text style, writes the result to the output iterator out
and returns the iterator past the end of the output range.
template<
typename OutputIt,
typename... T>
OutputIt
format_to(
OutputIt out,
text_style ts,
format_string<T...> fmt,
T...&&... args);
» more...
template<
typename OutputIt,
typename S,
typename... T,
typename Char = /* implementation-defined */,
bool enable = detail::is_output_iterator<OutputIt, Char>::value && detail::is_exotic_char<Char>::value>
OutputIt
format_to(
OutputIt out,
locale_ref loc,
S const& fmt,
T...&&... args)
requires enable;
» more...