Ah, simple solution to unittests inside templates

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 18 05:02:47 PDT 2016

On 9/17/16 5:23 PM, Andrej Mitrovic wrote:
> I think at some point someone suggested we could implement explicit
> support for such unittests via `static unittest`:

That suggests the unittest shall be evaluated during compilation. -- Andrei

More information about the Digitalmars-d mailing list