| 270 | template <class Tuple, std::size_t N> |
| 271 | struct TupleStreamer { |
| 272 | static void stream(const Tuple& t, std::list<std::string>& sl) |
| 273 | { |
| 274 | TupleStreamer<Tuple, N - 1>::stream(t, sl); |
| 275 | std::stringstream ss; |
| 276 | ss << std::get<N - 1>(t); |
| 277 | sl.emplace_back(ss.str()); |
| 278 | } |
| 279 | }; |
| 280 | |
| 281 | // Based on https://en.cppreference.com/w/cpp/utility/tuple/tuple_cat |