C++ Interop -- Two Questions
Mike Parker via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Sep 9 06:17:51 PDT 2015
On Wednesday, 9 September 2015 at 11:49:33 UTC, Kagamin wrote:
> Static functions are declared with `static` storage class. This
> looks so basic, it's even not documented in language spec, lol.
>
Yes, I get that. But how does that work when you're linking to a
C++ library and the translation of the C++ class to D is an
interface? Or is it possible now to link D classes directly with
C classes?
> In D classes are reference types by default.
Yes, of course. I just want to verify that the D ref and C++ ref
are equivalent.
I realize I can do it myself when I sit down this weekend and
start exploring it, but I'm hoping someone can point me to a blog
post, some sample code, or just give me some insights to save
time.
More information about the Digitalmars-d-learn
mailing list