Thread overview | |||||
---|---|---|---|---|---|
|
April 10, 2017 Test if a class is extern(c++) | ||||
---|---|---|---|---|
| ||||
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 |
April 10, 2017 Re: Test if a class is extern(c++) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benjamin Thaut | 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 |
April 10, 2017 Re: Test if a class is extern(c++) | ||||
---|---|---|---|---|
| ||||
Posted in reply to BBasile | 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.
|
Copyright © 1999-2021 by the D Language Foundation