keyword __traits

Bill Baxter dnewsgroup at billbaxter.com
Sun Nov 11 16:41:46 PST 2007


Robert Fraser wrote:
> Frank Benoit Wrote:
> 
>> When __traits was introduced, it was said, this will probably change
>> again, and that "__traits" is ugly.
>>
>> So I want to bring that up again, as a remainder. And also I want to ask
>> for suggestions.
>>
>> Why not simply have "traits" without the underscores as the keyword?
> 
> I'm down with that. The main problem is identifiers named traits (in particular, I believe std.traits, which may be used by quite a few projects).

There's the same issue with string and std.string.  It works somehow.

--bb



More information about the Digitalmars-d mailing list