Opened 15 years ago
Closed 13 years ago
#1184 closed Bugs (wontfix)
property_tree assignment (operator) bug
| Reported by: | 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 , 15 years ago
| Owner: | set to |
|---|
comment:2 by , 13 years ago
| Component: | None → property_tree |
|---|
comment:3 by , 13 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Sandbox ptree is no longer relevant.