D - class export
Can I export D class like C++ class? -- - Jester
Feb 17 2004
Can I export D class like C++ class?Strictly, yes, in so far as you can export, in D, a function that creates an instance of a given interface just as you can in C++. However, I suspect that you mean can you export a D class to be used in C++. That is not possible, though it can implement an interface that can be used directly in C++
Feb 21 2004