commit | 270f8e01e86443ea356fe27039b5a6856fddafd6 | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Tue Sep 16 20:38:11 2014 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Tue Sep 16 20:38:11 2014 +0000 |
tree | 28de76ed3ff17adcb55502998e15bb636660c1c3 | |
parent | 4413ab09d543e40daa5c62f5cf5ecfb4d066199a [diff] |
Create a 'comma_iterator' class that overloads operator, and asserts when it's called. Add tests to mismatch to make sure it can't be blindsided by such an evil iterator. More tests for other algorithms forthcoming. Thanks to STL for pointing this out at CppCon and Yakov Galka for opening LWG issue #2133 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@217902 91177308-0d34-0410-b5e6-96231b3b80d8