On Saturday, 20 April 2013 at 16:36:09 UTC, Namespace wrote:
It works fine in C++ (of course with -std=c++0x) http://codepad.org/qLIjGGd4
It's been a while since I did any c++ but: 1) I don't see any pointer to pointer polymorphism in there.2) That c++ code is equivalent to the version of your D code that works, not the version that doesn't.