C++ Logo

liaison

Advanced search

Re: [wg14/wg21 liaison] unreachable control flow

From: Andrew Banks <andrew_at_[hidden]>
Date: Tue, 18 May 2021 10:41:02 +0100
>> It tells the reason why the path is not supposed to be reached.

Don't we already have perror() for that?

        If ( fatal condition )
        {
                perror( "Something informative" );
                abort();
        }

Andrew

Received on 2021-05-18 04:41:55