Boost Users :
From: Matthias Kaeppler (nospam_at_[hidden])
Date: 2005-07-16 13:11:45
> There is no such a function in string_algo lib. But you can easily use
> There is a variant with a custom comparison predicate. For that you can use
> boost::is_iequal defined in boost/algorithm/string/compare.hpp.
According to this paper (http://lafstern.org/matt/col2_new.pdf) by Matt
Austern, using lexicographical_compare (alone) is not a good idea,
because it doesn't take locales into account and thus case conversion
may be incorrect.
He proposed a solution in this article, but since Matt Austern has
already contributed to Boost, I thought this functor might already be
part of the Boost libraries.
-- Matthias Kaeppler
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net