On Thu, 24 Nov 2011 10:20:03 +0100, mta`chrono <[email protected]> wrote:

It should be possible to simply create smart pointers that wrap
C++ classes in D though.

Martin, what needs to be done to use SmartPtrs for every c++ class
without using a c-wrapper?

It's really not much.
https://gist.github.com/1391734

You could add things as implicit conversion to base classes.
One limitation will remain though, there is no way around duplicating declarations.

martin

Reply via email to