https://d.puremagic.com/issues/show_bug.cgi?id=6946



--- Comment #9 from Nick Treleaven <ntrel-pub...@yahoo.co.uk> 2014-04-03 
07:43:21 PDT ---
(In reply to comment #8)
> Is the name "MyFlags" not useful (as shown in the syntax you quote)?

It's fine, I just thought it might be good to take advantage of a mixin
identifier (I often forget about that feature). It seems a bit cleaner to me
than a string argument, although having mixin assignment syntax would make this
clearer. Nice idea BTW.

The cleanness is because I like to have identifiers highlighted in the same way
rather than have some as strings, so I would prefer to read something like:

mixin BitFlags!q{A, B, C, D} MyFlags;

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to