D as A Better C?

Daniel Murphy yebbliesnospam at gmail.com
Tue Feb 11 19:47:24 PST 2014


"Adam Wilson"  wrote in message news:op.xa5eelqr707hn8 at invictus.hra.local...

> Why?
>
> Well, I was asking for the D-Core folks, if they could default the linkage 
> to C++ then they could use classes without Object. And setting the default 
> linkage might be useful for bindings.

Problems with overloading, separate compilation, some types can't be used 
with extern(C++) functions etc.

Just putting extern(C++): at the top of the file does a similar thing within 
the current system. 



More information about the Digitalmars-d mailing list