MCPcopy Create free account
hub / github.com/ablab/spades / format_custom_arg

Method format_custom_arg

ext/include/cppformat/format.h:701–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

699 // Formats an argument of a custom type, such as a user-defined class.
700 template <typename T>
701 static void format_custom_arg(
702 void *formatter, const void *arg, void *format_str_ptr) {
703 format(*static_cast<BasicFormatter<Char>*>(formatter),
704 *static_cast<const Char**>(format_str_ptr),
705 *static_cast<const T*>(arg));
706 }
707
708public:
709 MakeValue() {}

Callers

nothing calls this directly

Calls 1

formatFunction · 0.70

Tested by

no test coverage detected