On Saturday, 11 April 2015 at 21:47:20 UTC, Martin Nowak wrote:
Sorry to open yet another topic.

I'm repeatedly finding myself in situations where I write functions like
this.

private @property bool empty() const @safe pure nothrow @nogc
    {
        return impl is null || !impl.count;
    }

FYI, I wrote an enhancement request for this already. In case the discussion reaches a conclusion this time around, you might want to update the status:

https://issues.dlang.org/show_bug.cgi?id=13567

Reply via email to