"John Colvin"  wrote in message news:qbwxwxekffpegmbck...@forum.dlang.org...

Which, if you did, would enable you to use C++ classes from D somewhat transparently, no?

Potentially, yes. You'd need to be very careful that there was always a gc-visible reference to the class to keep it alive, so no using malloc for arrays of class pointers etc in the C++ code. This is done in DDMD by using a wrapper which forwards to GC.malloc.

Reply via email to