MCPcopy Create free account
hub / github.com/ceph/ceph / joinify

Function joinify

src/include/stringify.h:22–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21template <class T, class A>
22T joinify(const A &begin, const A &end, const T &t)
23{
24 T result;
25 for (A it = begin; it != end; it++) {
26 if (!result.empty())
27 result.append(t);
28 result.append(*it);
29 }
30 return result;
31}
32
33#endif

Callers 6

finishMethod · 0.85
validateMethod · 0.85
initMethod · 0.85
standby_startMethod · 0.85
get_cluster_statusMethod · 0.85
get_health_checksMethod · 0.85

Calls 2

emptyMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected