------- Comment #1 from Raimund dot Merkert at baesystems dot com  2007-07-24 
16:40 -------
If I replace *i with ++i, I get basically the same result. It has struck me as
weird that this would be the "preferred way" according to Scott Myers, but
looking at the implementation bits/stl_iterator.h, this code should definitely
not work.

So, perhaps it is not a bug after all?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32883

Reply via email to