danielaparker/jsoncons — pull request #1 by MarkaPola (2014-01-15 12:06:36+00:00)
Title: iterator becomes invalid after an erase operation

Daniel,

Here is the bug fix I talked about. The problem was to reuse an iterator after using it in an erase operation. C++ standard specify that this iterator is invalid after this operation. So I pick up valid iterator returned by erase method to do the insert.