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

Function format_as

test/printf-test.cc:521–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519
520enum test_enum { answer = 42 };
521auto format_as(test_enum e) -> int { return e; }
522
523TEST(printf_test, enum) {
524 EXPECT_PRINTF("42", "%d", answer);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected