vector<bool> _M_start and 0 offset

Marc Glisse marc.glisse@inria.fr
Sat Sep 29 08:56:00 GMT 2018


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?

-- 
Marc Glisse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vbool.patch
Type: text/x-diff
Size: 1722 bytes
Desc: 
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20180929/6a655150/attachment.bin>


More information about the Libstdc++ mailing list