Boost logo

Boost Users :

Subject: Re: [Boost-users] property tree case sensitivity
From: Brad Tilley (kj4eit_at_[hidden])
Date: 2012-02-08 07:41:40

On Feb 8, 5:19 am, Daniel Bradburn <moags..._at_[hidden]> wrote:
> See here for details on how to make a case insensitive string type:
> 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.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at