...
Invalid iterator ranges can result from comparison functions that return true for equal values. See STL32-C and Meyers 01.
Non-compliant Code Example 2
...
Code Block |
---|
for_each( c.begin(), d.end(), Something );
|
The results are similar to non-compliant code example 1.
...