On Saturday, 27 August 2016 at 07:13:01 UTC, Nicholas Wilson wrote: > easiest method would be to mark the D class extern(C++) noting > that in C++ a D class reference becomes a pointer to the C++ > class. In "the D class extern(C++)" do't work phobos.