$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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!