Subject: [boost] [property_tree] xml_parser::read_xml() and write_xml() are limited to std::string keys
From: Alexander Bogdashevsky (sanderb_at_[hidden])
Date: 2014-04-16 22:49:41
boost::property_tree::xml_parser and json_parser are hardcoded to work only with keys of std::string type.
The following code will fail to compile:
boost::property_tree::basic_ptree<boost::container::string, boost::container::string> pt;
I have prepared a patch that removes this limitation.
Please consider pulling https://github.com/sanderbog/property_tree/commit/8af8b6bf3b65fa59792d849b526678f176d87132
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk