Trait keyword.

H. S. Teoh hsteoh at quickfur.ath.cx
Sat Nov 2 16:00:27 PDT 2013


On Sat, Nov 02, 2013 at 09:45:26PM +0100, TheFlyingFiddle wrote:
> I'm basically wondering why the __traits keyword looks so horrible.

Because the intention is that users would not use it directly, but via
nicer standard library wrappers (e.g. std.traits in Phobos).


T

-- 
I don't trust computers, I've spent too long programming to think that
they can get anything right. -- James Miller


More information about the Digitalmars-d-learn mailing list