Negation of attributes (DIP 79)

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 2 05:21:23 PDT 2015


On Tue, 02 Jun 2015 11:50:15 +0000, Namespace wrote:

> For me it looks ugly. But I would prefer final(false) instead of !final.

this opens a can of worms. should this be accepted too:
  enum doItFinal = false;
  final(doItFinal)
?

or even
  final(someFunnyTemplate!(with_, args, andOtherTemplate!"too"))
?
-------------- 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/20150602/fe811325/attachment.sig>


More information about the Digitalmars-d mailing list