A lazylist implementation for C++