Opened 15 years ago

Closed 13 years ago

#1184 closed Bugs (wontfix)

property_tree assignment (operator) bug

Reported by: michael.walter@… Owned by: kaalus
Milestone: To Be Determined Component: property_tree
Version: Severity: Problem
Keywords: Cc:

Description

Using boost 1.34.1 and the property_tree from boost-sandbox (CVS!) the following code segfaults:

#include <boost/property_tree/ptree.hpp>
using namespace boost::property_tree;

int main()
{
  ptree pt;
  pt.put("foo.bar", "baz");
  pt=pt.get_child("foo");
}

(that is, when you assign a ptree's child to itself)

Change History (3)

comment:1 by Marshall Clow, 15 years ago

Owner: set to kaalus

comment:2 by Steven Watanabe, 13 years ago

Component: Noneproperty_tree

comment:3 by Sebastian Redl, 13 years ago

Resolution: wontfix
Status: newclosed

Sandbox ptree is no longer relevant.

Note: See TracTickets for help on using tickets.