When I read scip, I am so interesting in indefinite stream.So I implement it using cpp.
I want to make it simple enough, and only supports value types.
I think it like a deque, there are constantly data inserted from the back end. And we get data from top.
Using iterator(ForwardIterator), and inherit it.
/--------+ |++++++++++++++++ /--------+
/ | | | / |
stream -> < scale | -----> | filter | ----> < scale | ----->
\ | | | \ |
\--------+ |++++++++++++++++ \--------+