Negation of attributes (DIP 79)

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 4 00:22:26 PDT 2015


On Thu, 04 Jun 2015 09:13:47 +0200, Daniel Kozák via Digitalmars-d wrote:

> 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?

:-(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150604/2dc2fa8c/attachment.sig>


More information about the Digitalmars-d mailing list