Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Unfortunately, I don't have a test, sorry. I'm not trying to cut corners here - just thought that iterator referring to begin() value of a container should never be decremented so given the nature of the issue, simplicity of the fix and expected effort necessary to find a reliable test case it'd be more productive if I spend my time doing other work.
But please tell me if you think this is not an obvious bug and an obvious way to fix it - I could be missing something.