[PATCH] D17053: [libcxx]: vector: Use < instead of != to improve failure mode
Howard Hinnant via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 9 16:48:26 PST 2016
On Feb 9, 2016, at 7:46 PM, Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote:
>
>
>> 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.
This may also be helpful information:
http://libcxx.llvm.org/debug_mode.html
Howard
More information about the cfe-commits
mailing list