Accessing C++ code from D

Walter Bright newshound at
Tue May 16 17:57:59 PDT 2006

Lynn Allan wrote:
>> The only C++ code I've been able to convert without much difficulty
> is
>> my own, and that's because I use a gc with my C++ projects, and I
>> deliberately write it in a D style. You can see that in the DMD
> front
>> end source.
> Are there guidelines for writing C/C plus plus in D style?
> I'm involved in several freeware projects that I've considered
> converting to D when 1.0 is released. Are there things I could be
> doing (and not doing) now to facilitate that?

No, there are no guidelines. But you can look at the dmd source and get 
a feel for it.

More information about the Digitalmars-d mailing list