Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit 064f557086.
PrevUpHomeNext

grammar::ci_equal

A case-insensitive equals predicate for strings.

Synopsis

Defined in header <boost/url/grammar/ci_string.hpp>

using ci_equal = see-below;
Description

The function object returns true when two strings are equal, ignoring case. This is a suitable equality predicate for unordered containers. The function is defined only for strings containing low-ASCII characters.

Example
boost::unordered_map< std::string, std::string, ci_hash, ci_equal > m1;

std::unordered_map  < std::string, std::string, ci_hash, ci_equal > m2; // (since C++20)
See Also

ci_hash, ci_less.

Convenience header <boost/url/grammar.hpp>


PrevUpHomeNext