Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3158: is_iless throws exception in string algorithms library
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-09 20:41:48
#3158: is_iless throws exception in string algorithms library
------------------------------------------------+---------------------------
Reporter: David Psenicka <dpsenick_at_[hidden]> | Owner: pavol_droba
Type: Bugs | Status: closed
Milestone: Boost 1.40.0 | Component: string_algo
Version: Boost Development Trunk | Severity: Problem
Resolution: invalid | Keywords: is_iless
------------------------------------------------+---------------------------
Changes (by pavol_droba):
* status: new => closed
* resolution: => invalid
Comment:
is_iless was never intended nor designed to compare strings. its function
is to compare characters. It uses C++ locale facet to convert the case of
the input and that
facet is obviously not specialized for std::string.
use boost::ilexicographical_compare instead.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3158#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC