On Monday, 13 April 2015 at 17:24:38 UTC, Steven Schveighoffer wrote:Note, it's best to show when comparing C/C++ to D the C++ code and how you expect it to work too.Did you compile C++ with strict/pedantic options? ( I don't think it should work in compliant C++ )
No, just g++ (and i believe this is clang) -Steve