On Saturday, 30 July 2016 at 00:55:11 UTC, Charles Hixson wrote:
FWIW, in that case I always use
assert (false, "...");
I try to never use integers for booleans. But this may well be a common usage.

I suspect `assert(0)` is really `assert(<any logically-false constexpr>)`, so you should be fine. Both styles are used in Phobos.

Reply via email to