Isn't __traits part of the language?

2010-08-06 Thread simendsjo
Rationale (http://digitalmars.com/d/2.0/rationale.html) says: Why not use operator names like __add__ and __div__ instead of opAdd, opDiv, etc.? __ keywords should indicate a proprietary language extension, not a basic part of the language. But traits is explained under the language spec,

Re: Isn't __traits part of the language?

2010-08-06 Thread Steven Schveighoffer
On Fri, 06 Aug 2010 08:42:40 -0400, simendsjo simen.end...@pandavre.com wrote: Rationale (http://digitalmars.com/d/2.0/rationale.html) says: Why not use operator names like __add__ and __div__ instead of opAdd, opDiv, etc.? __ keywords should indicate a proprietary language extension, not