...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::algorithm::ilexicographical_compare — Lexicographical compare predicate (case-insensitive)
// In header: <boost/algorithm/string/predicate.hpp> template<typename Range1T, typename Range2T> bool ilexicographical_compare(const Range1T & Arg1, const Range2T & Arg2, const std::locale & Loc = std::locale());
This predicate is an overload of std::lexicographical_compare for range arguments. It check whether the first argument is lexicographically less then the second one. Elements are compared case insensitively
Note | |
---|---|
This function provides the strong exception-safety guarantee |
Parameters: |
|
||||||
Returns: |
The result of the test |