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

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 30 02:49:19 PST 2016


EricWF added a comment.

Maybe if we want to improve the failure mode we can add a `_LIBCPP_ASSERT(__new_last <= __end, "invalid range")`?


https://reviews.llvm.org/D17053





More information about the cfe-commits mailing list