loop through specific class members
    Trass3r 
    mrmocool at gmx.de
       
    Mon Jan 19 11:59:13 PST 2009
    
    
  
BCS schrieb:
> Reply to Lutger,
> 
>> Another possible hack: if used from a
>> different module, you could use the 'compiles' trait with allMembers
>> to find out if a member can be accessed.
>>
> 
> you could define a template in another module that does the check and 
> returns the result.
> 
> 
Well, it'd indeed be used from a different module than class, in fact 
from a different package.
But this only gives the public members, right?
    
    
More information about the Digitalmars-d-learn
mailing list