vector<bool> _M_start and 0 offset
Jonathan Wakely
jwakely@redhat.com
Mon Oct 1 12:13:00 GMT 2018
On 29/09/18 10:56 +0200, Marc Glisse wrote:
>Hello,
>
>here is a clang-friendly version of the patch (same changelog), tested
>a while ago. Is it ok or do you prefer something like the
>
>+ if(this->_M_impl._M_start._M_offset != 0) __builtin_unreachable();
>
>version suggested by François?
I don't think __builtin_unreachable would improve the clarity of the code.
The patch is OK for trunk, thanks.
More information about the Libstdc++
mailing list