https://issues.dlang.org/show_bug.cgi?id=14193 --- Comment #4 from Benjamin Thaut <code at benjamin-thaut.de> --- That doesn't work. C++ does not have a concept of value types and reference types. D does. So you can't "simply" use classes as classes and structs as structs. --