On Sunday, 8 February 2015 at 04:02:52 UTC, H. S. Teoh wrote:
    p || assert(0, "Not enough memory");

This is a truly strange way of writing it... why not:

        assert(p !is null, "Not enough memory");

I think Andrei's version will remain in release builds, but yours will be elided.

Reply via email to