| 64 | } |
| 65 | |
| 66 | std::string join(const std::vector<std::string> strings, const std::string &sep) |
| 67 | { |
| 68 | if (strings.empty()) |
| 69 | { |
| 70 | return ""; |
| 71 | } |
| 72 | return std::accumulate(std::next(strings.begin()), strings.end(), strings.at(0), |
| 73 | [&sep](const std::string &a, const std::string &b) { return a + sep + b; }); |
| 74 | } |
| 75 | } // namespace arm_compute |
nothing calls this directly
no test coverage detected