Negation of attributes (DIP 79)
Daniel Kozák via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 4 00:13:47 PDT 2015
On Wed, 03 Jun 2015 14:49:31 -0700
Andrei Alexandrescu via Digitalmars-d <digitalmars-d at puremagic.com>
wrote:
> On 6/3/15 2:19 PM, Jonathan M Davis wrote:
> > Regardless, I think that attribute(boolean expression) is the clear
> > winner, because it's for more flexible.
>
> Yes please. -- Andrei
Are we ok with code like this:
final(someTemplate!orMaybeSomeAnother!SomeValue)
finalOrVIrtualmethodWhoKnows() {}
?
Maybe we can start with just attr(false) and attr(true), and add
complete bool expresion evaluation in future?
More information about the Digitalmars-d
mailing list