On Jun 12, 11 11:18, Andrei Alexandrescu wrote:
On 06/11/2011 04:20 PM, Jonathan M Davis wrote:
2. He proposed a template wrapper which would allow you to type
yes!"enumName"
and no!"enumName" instead of the full Flag!"enumName".yes and
Flag!"enumName".no. Some people feel that this resolves complaint #2.
Others
think that it's still quite ugly.

Those were since replaced with No.enumName and Yes.enumName by Dmitry's
idea:

https://github.com/andralex/phobos/commit/801ccc96ce56827cd0d0b608895269bdccba4330



Andrei

Yes.X and No.X looks grammatically wrong. In D you usually have 'Aggregate.member', not 'Member.aggregate'.

Reply via email to