Yeah, this is a really interesting thread, but I'm having a issue translating in my head to C++...

Arkadiy, any chance you can post your translated code? That'd be quite helpful.


-Jason