MCPcopy Create free account
hub / github.com/arun11299/cpp-subprocess / join

Function join

test/test_split.cc:25–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25std::string join(const std::vector<std::string>& vec)
26{
27 std::string res;
28 for (auto& elem : vec) {
29 res.append(elem + " ");
30 }
31 res.erase(--res.end());
32 return res;
33}
34
35int main() {
36

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected