Re: Test if a class is extern(c++)

2017-04-10 Thread Benjamin Thaut via Digitalmars-d-learn
On Monday, 10 April 2017 at 18:56:42 UTC, BBasile wrote: Hello, I have a trait for this: https://github.com/BBasile/iz/blob/master/import/iz/types.d#L650 Hi BBasile, I think your trait is a good starting point for my needs. Thanks.

Re: Test if a class is extern(c++)

2017-04-10 Thread BBasile via Digitalmars-d-learn
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/i

Test if a class is extern(c++)

2017-04-10 Thread Benjamin Thaut via Digitalmars-d-learn
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