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"?
Why don't they "just" support them you ask?
Yeah, that a D compiler can't read .h files is obvious to me :)