loop through specific class members
Jarrett Billingsley
jarrett.billingsley at gmail.com
Tue Jan 20 17:56:20 PST 2009
On Tue, Jan 20, 2009 at 7:42 PM, Christopher Wright <dhasenan at gmail.com> wrote:
> Naturally, __traits and foreach don't mix, so you'll have to use template
> recursion. This is pretty damn ugly.
I never understood why __traits likes returning arrays so much. Why not tuples?
> Note that getVirtualFunctions returns methods that are not virtual. You need
> to use isVirtualFunction to determine whether a method is virtual.
Lol.
More information about the Digitalmars-d-learn
mailing list