is D ncurses-only language?
Martin Nowak
dawg at dawgfoto.de
Thu Nov 24 08:36:47 PST 2011
On Thu, 24 Nov 2011 10:20:03 +0100, mta`chrono
<chrono at mta-international.net> 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
More information about the Digitalmars-d
mailing list