Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
520
enum test_enum { answer = 42 };
521
auto format_as(test_enum e) -> int { return e; }
522
523
TEST(printf_test, enum) {
524
EXPECT_PRINTF(
"42"
,
"%d"
, answer);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected