Test if a class is extern(c++)

BBasile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Apr 10 11:56:42 PDT 2017


On Monday, 10 April 2017 at 18:32:05 UTC, Benjamin Thaut wrote:
> In particular I want to know if the vtable of the class has the 
> class info member.
> Is there any way to do this at compile time? At runtime?
>
> Kind Regards
> Benjamin Thaut

Hello, I have a trait for this:

https://github.com/BBasile/iz/blob/master/import/iz/types.d#L650




More information about the Digitalmars-d-learn mailing list