Why using wrappers for D?

rikki cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Oct 3 06:38:26 PDT 2016


On 04/10/2016 1:56 AM, Chalix wrote:
> On Monday, 3 October 2016 at 12:15:10 UTC, rikki cattermole wrote:
>> To use any kind of function you must declare it, plain and simple.
>> Any c or c++ function/class is the very much same way.
>> Now C++ types such as classes are highly limited in D since it doesn't
>> ugh cross over all that well (it does some weird things).
>
> I don't know if we understand each other. You have to declare each
> function in the language you are programming, that is clear to me. So if
> you write in D, you need "D-Headers" (which are not called headers in D,
> i know).
>
> What do you mean with "Now C++ types such as classes are highly limited
> in D"?

Basically some features do not match up nicely like operators and 
constructors. They also do not share semantics e.g. value versus reference.

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the Digitalmars-d-learn mailing list