Phobos Members-Tuple function?
    F i L 
    witte2008 at gmail.com
       
    Sat Jan 19 19:55:59 PST 2013
    
    
  
Ali Çehreli wrote:
> The following program produces this output:
>
> [...code...]
Awesome! Thanks, I wasn't expecting it to actually be as easy as 
that. I tried all sort of difference combinations with 
__traits(allMembers, ..) but it looks like I just needed to move 
it into the foreach loop itself. I wounder why there's a 
difference when assigning to an enum...
    
    
More information about the Digitalmars-d-learn
mailing list