Sat, 06 Nov 2010 01:54:20 -0400, Nick Sabalausky wrote: > It may require it be used like 'mixin(assert!(blah blah))', but that's a > big part of why I've been saying for a loooong time that it needs to be > possible to make CTFE's intended for string mixins to be mixed in > *without* the "mixin(...)" mess. Because as it is, if you present an > interface that requires it be wrapped in "mixin(...)", people will bitch > about the extra noise and refuse to use it, rendering string mixins > minimally useful. (Last time I suggested this we got the ability to make > *template* mixins that are usable without "mixin", which is caparitively > useless.)
I thought the keyword 'macro' was reserved for these purposes. Just wait for D3.. It's possible then.