MCPcopy Create free account
hub / github.com/boostorg/hana / join

Function join

example/tutorial/introspection.json.cpp:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15//! [utilities]
16template <typename Xs>
17std::string join(Xs&& xs, std::string sep) {
18 return hana::fold(hana::intersperse(std::forward<Xs>(xs), sep), "", hana::_ + hana::_);
19}
20
21std::string quote(std::string s) { return "\"" + s + "\""; }
22

Callers 1

to_jsonFunction · 0.70

Calls 1

foldClass · 0.85

Tested by

no test coverage detected