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

Function parse

test/base-test.cc:301–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299FMT_BEGIN_NAMESPACE
300template <typename Char> struct formatter<test_struct, Char> {
301 FMT_CONSTEXPR auto parse(format_parse_context& ctx) -> decltype(ctx.begin()) {
302 return ctx.begin();
303 }
304
305 auto format(test_struct, format_context& ctx) const -> decltype(ctx.out()) {
306 return copy("test", ctx.out());

Callers

nothing calls this directly

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected