Helper unit testing functions in Phobos (possible std.unittests)

retard re at tard.com.invalid
Sat Nov 6 05:00:37 PDT 2010


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.


More information about the Digitalmars-d mailing list