On Sunday, 18 September 2016 at 12:02:47 UTC, Andrei Alexandrescu wrote:
That suggests the unittest shall be evaluated during compilation. -- Andrei


Nah, static is already quite overloaded and needs context to understand what it does. For example module constructors.

Anyway compiler issues aside it's probably best to use working solutions like yours for now, and later we can devise something better via a DIP (one was posted here).

As the saying goes, don't let great be enemy of the good.

Reply via email to