Flag proposal

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Jun 11 20:18:47 PDT 2011


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


More information about the Digitalmars-d mailing list