Questions tagged [boost-propertytree]

The Boost PropertyTree library provides a data structure that stores an arbitrarily deeply nested tree of values, indexed at each level by some key. It serializes and emulates XML, JSON and INI file structures.

The Boost PropertyTree library provides a data structure that stores an arbitrarily deeply nested tree of values, indexed at each level by some key. It serializes and emulates XML, JSON and INI file structures.

Note: Boost.PropertyTree is not a generic XML parser. It is not intended to be used as a fast-and-dirty way to load arbitrary XML files into memory. It's XML serialization capabilities are for serialization. It is intended to read the XML that it has written.

Please stop using Boost.PropertyTree as a generic XML parser.

287 questions
-1
votes
2 answers

read_xml() throw exception due to lacking of double quotes

I use boost::property_tree object to parse xml like this: When I call read_xml() to parse this content, it works well. But if I remove those double quotes around the…
naive231
  • 1,162
  • 1
  • 8
  • 26
-2
votes
2 answers

New line seen in command prompt but the same string is seen with \n in file output

I have this code which runs fine #include #include #include int main() { std::set a; a.insert("foo"); a.insert("bar"); a.insert("zoo"); a.insert("should"); a.insert("work"); …
silent_programmer
  • 728
  • 2
  • 7
  • 18
1 2 3
19
20