
8 Feb
2012
8 Feb
'12
5:41 a.m.
On Feb 8, 5:19 am, Daniel Bradburn <moags...@gmail.com> wrote:
See here for details on how to make a case insensitive string type:http://www.gotw.ca/gotw/029.htm
You can then specialise the property tree with this new type:
typedef basic_ptree< ci_string, std::string > ptree;
You can also use boost::iequals for comparing strings ignoring case, which may or may not be a better solution depending on your requirements.Regards
Dan
Thanks Dan! I wasn't aware of iequals. Combined with iptree, that makes a perfect solution. Brad