|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2007-12-10 06:08:02
Author: danieljames
Date: 2007-12-10 06:08:02 EST (Mon, 10 Dec 2007)
New Revision: 41951
URL: http://svn.boost.org/trac/boost/changeset/41951
Log:
Use the locale in the case insensitive comparison, I really should add a test for this.
Text files modified:
sandbox/unordered/libs/unordered/examples/case_insensitive.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: sandbox/unordered/libs/unordered/examples/case_insensitive.hpp
==============================================================================
--- sandbox/unordered/libs/unordered/examples/case_insensitive.hpp (original)
+++ sandbox/unordered/libs/unordered/examples/case_insensitive.hpp 2007-12-10 06:08:02 EST (Mon, 10 Dec 2007)
@@ -27,7 +27,7 @@
template <typename String1, typename String2>
bool operator()(String1 const& x1, String2 const& x2) const
{
- return boost::algorithm::iequals(x1, x2);
+ return boost::algorithm::iequals(x1, x2, locale_);
}
private:
std::locale locale_;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk