Proposal: Replace __traits and is(typeof(XXX)) with a 'magic namespace'.

Don nospam at nospam.com
Tue Nov 3 08:52:03 PST 2009


Andrei Alexandrescu wrote:
> rmcguire wrote:
>> It makes a lot of sense to just say to someone "if you want to do 
>> something at  compile time, just check the 'static' documentation".
> 
> I agree. And goes with static if too.
> 
> Andrei

Unfortunately static if, static variables, and static member functions 
don't seem to have much in common with each other. You have to be quite 
imaginative to find a common theme.




More information about the Digitalmars-d mailing list