Skip to content
Commit f1e473ba authored by Marshall Clow's avatar Marshall Clow
Browse files

Create a 'comma_iterator' class that overloads operator, and asserts when it's...

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

llvm-svn: 217902
parent ed35a3e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment