Lazy Data in C++

I’m lazy, and I want my data to be, too. Right now I’m working on a new, natively compiled term rewriter (a new version of Elision). I want lazy data; data that is computed once, on demand. I wrote a little C++ class to do that and I’m sharing it with the world so you can tell me where I’ve gone horribly, laughably, idiotically wrong. I haven’t written C++ is a few years.
Continue reading “Lazy Data in C++”