February 20, 2008 How to get all virtual functions of a class or interface? | ||||
---|---|---|---|---|
| ||||
Hi all, How can i get all virtual functions of a class or interface in D 2.0? I mean doing the same thing as __traits(getVirtualFunctions, T, "identifier"), but not to get only overloads of one identifier, but really all functions of the class or interface. Regards, Harry |
February 21, 2008 Re: How to get all virtual functions of a class or interface? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Harry Vennik | Never mind... I tried this many times without success until I discovered I was just being bitten by a compiler bug... (Bugzilla #1463)
I found a work-around for that and that solved my problem.
Harry
Harry Vennik Wrote:
> Hi all,
>
> How can i get all virtual functions of a class or interface in D 2.0?
> I mean doing the same thing as __traits(getVirtualFunctions, T, "identifier"), but not to get only overloads of one identifier, but really all functions of the class or interface.
>
> Regards,
>
> Harry
|
Copyright © 1999-2021 by the D Language Foundation