DMD 1.019 and 2.003 releases

Walter Bright newshound1 at digitalmars.com
Mon Jul 23 09:51:57 PDT 2007


Craig Black wrote:
> Very nice Walter!  Question about traits.  I'm guessing allMembers returns 
> both functions and fields?  Is there an isField or isFunction to 
> differentiate?

You can look at the types to see if they are data or functions. But 
probably more traits need to be added - I thought I'd wait on that to 
see just what was required, rather than throw in a lot of useless 
geegaws. It's hard to predict in advance.



More information about the Digitalmars-d-announce mailing list