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

Function copy

test/base-test.cc:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37using testing::Return;
38
39auto copy(fmt::string_view s, fmt::appender out) -> fmt::appender {
40 for (char c : s) *out++ = c;
41 return out;
42}
43
44TEST(string_view_test, value_type) {
45 static_assert(std::is_same<fmt::string_view::value_type, char>::value, "");

Callers 4

formatFunction · 0.70
formatMethod · 0.70
formatMethod · 0.70
formatMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected