| 129 | |
| 130 | template <typename ContainerType> |
| 131 | std::string Join(const ContainerType& container) { |
| 132 | if (container.empty()) { |
| 133 | return "<empty>"; |
| 134 | } |
| 135 | std::ostringstream stream; |
| 136 | auto it = container.begin(); |
| 137 | stream << *it++; |
| 138 | for (; it != container.end(); ++it) { |
| 139 | stream << ", "; |
| 140 | stream << *it; |
| 141 | } |
| 142 | return stream.str(); |
| 143 | } |
| 144 | |
| 145 | struct LogCoveredPathsOnDestruction final { |
| 146 | ~LogCoveredPathsOnDestruction() { |
no test coverage detected