| 224 | /// Joins a string together using the specified delimiter. |
| 225 | template <typename T> |
| 226 | static inline std::string JoinString(const T& start, const T& end, char delimiter) |
| 227 | { |
| 228 | std::string ret; |
| 229 | for (auto it = start; it != end; ++it) |
| 230 | { |
| 231 | if (it != start) |
| 232 | ret += delimiter; |
| 233 | ret.append(*it); |
| 234 | } |
| 235 | return ret; |
| 236 | } |
| 237 | template <typename T> |
| 238 | static inline std::string JoinString(const T& start, const T& end, const std::string_view delimiter) |
| 239 | { |
no test coverage detected