[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:46:39 PST 2016
> On 2016-Feb-09, at 16:40, Howard Hinnant <howard.hinnant at gmail.com> wrote:
>
> On Feb 9, 2016, at 7:17 PM, Duncan P. N. Exon Smith via cfe-commits <cfe-commits at lists.llvm.org> wrote:
>>
>> Any other ideas for improving the failure mode?
>
> Here’s a suggestion:
>
> https://github.com/llvm-mirror/libcxx/blob/master/include/vector#L1658
>
> Make this easy to activate.
Hmm, yes. I'll see what I can do about shipping the debug mode, since
that assertion would catch it.
Thanks for the reminder Howard.
More information about the cfe-commits
mailing list