Improving assert-printing in DMD

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 2 05:31:48 PDT 2015


On Friday, 2 October 2015 at 12:27:11 UTC, Per Nordlöw wrote:
> What about the case
>
> assert(f(expr))
> assert(symbol)
>
> Should `op` be empty in that casesor should we use yet another 
> overload
>
>     onAssertFailed(e, __FILE__, ...)
>
> for that case?

empty op for unary overload


More information about the Digitalmars-d mailing list