Not well. Interoperating with C++ is extremely difficult as the calling conventions are complicated.<p>See this from the &quot;D&quot; documentation:
&quot;Being 100% compatible with C++ means more or less adding a fully functional C++ compiler front end&quot;<p><a href="https:&#x2F;&#x2F;dlang.org&#x2F;spec&#x2F;cpp_interface.html" rel="nofollow">https:&#x2F;&#x2F;dlang.org&#x2F;spec&#x2F;cpp_interface.html</a>