Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5361: Is boost::is_iequal supposed to work only with chars?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-23 19:22:50
#5361: Is boost::is_iequal supposed to work only with chars?
-----------------------------------+----------------------------------------
Reporter: simmo.saan@⦠| Owner: pavol_droba
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: string_algo
Version: Boost 1.45.0 | Severity: Problem
Resolution: invalid | Keywords:
-----------------------------------+----------------------------------------
Changes (by pavol_droba):
* status: new => closed
* resolution: => invalid
Comment:
Hello,
As the documentation states, is_iequal is "element" or "character"
comparison predicate. As so it is used as a plugin to more complext
algorithms that are using it for atomic operations on elements of a
string.
If you'd like to compare strings, you can use lexicographical_compare
algorithm.
Regards,
Pavol.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5361#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:06 UTC