| 9 | { |
| 10 | template <class T> |
| 11 | static std::string to_string(const std::vector<T>& vector) |
| 12 | { |
| 13 | std::stringstream s; |
| 14 | s << "vector{"; |
| 15 | bool first = true; |
| 16 | for (const T& t : vector) |
| 17 | { |
| 18 | if (!first) |
| 19 | s << ", "; |
| 20 | first = false; |
| 21 | s << t; |
| 22 | } |
| 23 | s << "}"; |
| 24 | return s.str(); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | #undef assert |
no outgoing calls
no test coverage detected