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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

grammar::ci_digest

Return the case-insensitive digest of a string.

Synopsis

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

std::size_t
ci_digest(
    string_view s);
Description

The hash function is non-cryptographic and not hardened against algorithmic complexity attacks. Returned digests are suitable for usage in unordered containers. The function is defined only for strings containing low-ASCII characters.

Return Value

The digest

Parameters

Name

Description

s

The string

Convenience header <boost/url/grammar.hpp>


PrevUpHomeNext