C++ Interop Ideas
Craig Black
cblack at ara.com
Mon Oct 15 09:51:39 PDT 2007
"Jarrett Billingsley" <kb3ctd2 at yahoo.com> wrote in message
news:fevr78$td1$1 at digitalmars.com...
> "Craig Black" <cblack at ara.com> wrote in message
> news:fevgtk$bma$1 at digitalmars.com...
>
>> My understanding of the current C++ interface is that we have
>> interoperability via virtual functions only. We can not link D with C++
>> using non-virtual functions. My first question is, what are the
>> incompatibilities that disallow linking C++ to D with regard to
>> non-virtual functions? I know that we can do so using a C wrapper, but
>> it would be nice if native C++ could do this as well, even if only
>> primitive types are allowed as parameters.
>
> The first section in the "Interfacing to C++" part of the spec is called
> "Calling C++ Global Functions From D", and the second "Calling Global D
> Functions From C++". Hopefully you've seen this section of the spec?
Guess I skimmed over it too fast. Thanks.
More information about the Digitalmars-d
mailing list