On 31/08/2011 09:56, Don wrote:
<snip>
What if range.empty is simply the compile-time constant 'false'?

That's exactly the case I've just covered.

Isn't:
if (false) {...}
unreachable code?
If it doesn't create an error, what would?

    doSomething();
    return;
    doSomethingElse();

including more complicated equivalents like

    if (condition) {
        return something;
    } else {
        return somethingElse;
    }
    doSomethingElse();

Stewart.

Reply via email to