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

Function format

extlibs/fmt/include/fmt/compile.h:524–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522 typename Char = typename CompiledFormat::char_type,
523 FMT_ENABLE_IF(internal::is_compiled_format<CompiledFormat>::value)>
524std::basic_string<Char> format(const CompiledFormat& cf, const Args&... args) {
525 basic_memory_buffer<Char> buffer;
526 cf.format(std::back_inserter(buffer), args...);
527 return to_string(buffer);
528}
529
530template <typename OutputIt, typename CompiledFormat, typename... Args,
531 FMT_ENABLE_IF(internal::is_compiled_format<CompiledFormat>::value)>

Callers

nothing calls this directly

Calls 3

to_stringFunction · 0.70
rangeFunction · 0.50
formatMethod · 0.45

Tested by

no test coverage detected