[PATCH] D17053: [libcxx]: vector: Use < instead of != to improve failure mode

Duncan P. N. Exon Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 9 16:08:54 PST 2016


I'm not sure I disagree.  What got me slightly motivated was seeing
that UBSan doesn't catch this.

> On 2016-Feb-09, at 16:04, Marshall Clow <mclow.lists at gmail.com> wrote:
> 
> mclow.lists added a comment.
> 
> Undefined behavior is just that, undefined.
> 
> I'm not that interested in "fixing" this; I don't think it's broken.
> 
> 
> http://reviews.llvm.org/D17053
> 
> 
> 



More information about the cfe-commits mailing list