// // to.h // stream // // Created by Sam Jaffe on 3/29/23. // #pragma once #include #include #include #include #include #define FWD(x) std::forward(x) namespace stream::ranges { template class store { private: C & to_; public: store(C & to) : to_(to) {} template friend void operator|(Stream && stream, store && store) { store.to_.emplace(store.to_.end(), stream.begin(), stream.end()); } }; template