D & C++ class question

bauss jj_1337 at live.dk
Thu Nov 29 16:24:58 UTC 2018


On Wednesday, 28 November 2018 at 13:42:43 UTC, Nicholas Wilson 
wrote:
> On Wednesday, 28 November 2018 at 13:13:40 UTC, bauss wrote:
>> Well unfortunately I cannot control the C++ side of things, 
>> but I assume that it'll work properly with extern(C++) so I 
>> guess I will just go ahead and try and see if everything works 
>> out. I have access to the C++ source so at the very least I 
>> can see how it's used there and if it's possible in the way I 
>> want it to. I don't hope I have to have a separate C++ 
>> "bridge" to make it work.
>
> Its mostly a magling problem, if the C++ API uses class& that 
> you have to interface with then you have a problem that would 
> require a shim.

Are there no support for references with mangling in D?

Like what about int&?


More information about the Digitalmars-d-learn mailing list