MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / to_string

Function to_string

tests/fluxpattern.cc:11–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9{
10 template <class T>
11 static std::string to_string(const std::vector<T>& vector)
12 {
13 std::stringstream s;
14 s << "vector{";
15 bool first = true;
16 for (const T& t : vector)
17 {
18 if (!first)
19 s << ", ";
20 first = false;
21 s << t;
22 }
23 s << "}";
24 return s.str();
25 }
26}
27
28#undef assert

Callers 15

printMapMethod · 0.85
getMetadataMethod · 0.85
toDirentMethod · 0.85
AcornDfsDirentMethod · 0.85
getMetadataMethod · 0.85
ZDosDirentMethod · 0.85
getMetadataMethod · 0.85
MicrodosDirentMethod · 0.85
getMetadataMethod · 0.85
AppledosDirentMethod · 0.85
getMetadataMethod · 0.85
populateAttributesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected