MCPcopy Create free account
hub / github.com/Dobiasd/FunctionalPlus / stream

Method stream

include/fplus/show.hpp:272–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270template <class Tuple, std::size_t N>
271struct 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

Callers

nothing calls this directly

Calls 1

streamFunction · 0.70

Tested by

no test coverage detected