Boost logo

Boost Users :

Subject: [Boost-users] [Boost.PropertyTree] Application hangs (Boost 1.61)
From: Andrew C (achinkoff_at_[hidden])
Date: 2016-06-24 17:24:54


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!



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net