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

Class to_stringable

test/compile-test.cc:279–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277TEST(compile_test, empty) { EXPECT_EQ("", fmt::format(FMT_COMPILE(""))); }
278
279struct to_stringable {
280 friend fmt::string_view to_string_view(to_stringable) { return {}; }
281};
282
283FMT_BEGIN_NAMESPACE
284template <> struct formatter<to_stringable> {

Callers 1

TESTFunction · 0.70

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.56