mixin()-ed code not treated the same as surrounding code

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 13 13:05:17 PDT 2017


On Sunday, 13 August 2017 at 19:50:57 UTC, Roman Hargrave wrote:
> But instead I get:
>
> _D8Sequence5Torch12SequenceList6__initZ
> _D8Sequence5Torch12SequenceList7__ClassZ
> _D8Sequence5Torch12SequenceList6__vtblZ

How are you getting that list? Those particular things are hidden 
D specific symbols so it might be generating those AND the ones 
you actually want.

Of course, it is also possible that the extern(C++) just needs to 
be explicitly written on each class. I don't really know.


More information about the Digitalmars-d mailing list