static unittest
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 30 10:27:18 PDT 2014
On Wednesday, 30 April 2014 at 17:24:32 UTC, Andrei Alexandrescu
wrote:
> On 4/30/14, 10:11 AM, H. S. Teoh via Digitalmars-d wrote:
>> Yeah, what does static unittest give us beyond static assert?
>> (Other
>> than nice syntax, that is.)
>
> static assert is for expressions, static unittest is for
> statements.
>
> Andrie
See linked thread, it was extensively discussed there. TL; DR:
delegates +
https://github.com/D-Programming-Language/phobos/blob/master/std/exception.d#L1401
More information about the Digitalmars-d
mailing list