February 20, 2008
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
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