Hi!

It seems to be a bug that this application hangs inside "erase" method:

#include <boost/property_tree/ptree.hpp>
int main()
{
    boost::property_tree::ptree pt;
    pt.erase(pt.begin()); // enters infinite loop...
}

Compiled with Cygwin/GCC-5.4.0.

Is it really a bug or my misuse?

Thanks!