![](https://secure.gravatar.com/avatar/b7a03d0833ab4cb23c59fcafcad8fa26.jpg?s=120&d=mm&r=g)
8 Feb
2012
8 Feb
'12
12:41 p.m.
On Feb 8, 5:19 am, Daniel Bradburn
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