| 127 | |
| 128 | template<typename Tuple, std::size_t... Is> |
| 129 | std::string tuple_to_string_impl(const Tuple& t, std::index_sequence<Is...>) { |
| 130 | std::ostringstream oss; |
| 131 | // Unpack the tuple; add a pipe before each element except the first. |
| 132 | ((oss << (Is == 0 ? "" : "|") << std::to_string(std::get<Is>(t))), ...); |
| 133 | return oss.str(); |
| 134 | } |
| 135 | |
| 136 | template<typename... Ts> |
| 137 | std::string key_to_string(const std::tuple<Ts...>& key) { |
no test coverage detected