...
In this noncompliant code example, the f_imp()
function is given the (correct) ending iterator e
for a container, and b
is an interator to iterator from the same container. UnfortunatelyHowever, it is possible that b
is not within the valid range of its container. For instance, if the container were empty, b
would equal e
and be improperly dereferenced.
...