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

Method fixed_string

test/base-test.cc:109–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 char data[size] = {};
108
109 constexpr fixed_string(const char (&m)[size]) {
110 for (size_t i = 0; i != size; ++i) data[i] = m[i];
111 }
112 };
113
114 static constexpr auto fs = fixed_string("foo");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected