MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / format_to_n

Function format_to_n

extlibs/fmt/include/fmt/compile.h:580–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578template <typename OutputIt, typename CompiledFormat, typename... Args,
579 FMT_ENABLE_IF(internal::is_output_iterator<OutputIt>::value)>
580format_to_n_result<OutputIt> format_to_n(OutputIt out, size_t n,
581 const CompiledFormat& cf,
582 const Args&... args) {
583 auto it =
584 format_to(internal::truncating_iterator<OutputIt>(out, n), cf, args...);
585 return {it.base(), it.count()};
586}
587
588template <typename CompiledFormat, typename... Args>
589std::size_t formatted_size(const CompiledFormat& cf, const Args&... args) {

Callers

nothing calls this directly

Calls 3

baseMethod · 0.80
format_toFunction · 0.70
countMethod · 0.45

Tested by

no test coverage detected