MCPcopy Create free account
hub / github.com/fmtlib/fmt / write

Method write

include/fmt/format.h:2161–2167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2159 !std::is_same<T, bool>::value &&
2160 !std::is_same<T, Char>::value)>
2161FMT_CONSTEXPR FMT_INLINE auto write(basic_appender<Char> out, T value,
2162 const format_specs& specs, locale_ref loc)
2163 -> basic_appender<Char> {
2164 if (specs.localized() && write_loc(out, value, specs, loc)) return out;
2165 return write_int_noinline<Char>(out, make_write_int_arg(value, specs.sign()),
2166 specs);
2167}
2168
2169// An inlined version of write used in format string compilation.
2170template <typename Char, typename OutputIt, typename T,

Callers 2

write_bufferFunction · 0.45
flushMethod · 0.45

Calls 15

make_write_int_argFunction · 0.85
check_char_specsFunction · 0.85
write_escaped_stringFunction · 0.85
to_unsignedFunction · 0.85
for_each_codepointFunction · 0.85
needs_escapeFunction · 0.85
write_escaped_cpFunction · 0.85
display_width_ofFunction · 0.85
report_errorFunction · 0.85
is_negativeFunction · 0.85
count_digitsFunction · 0.85
isfiniteFunction · 0.85

Tested by

no test coverage detected