Boost C++ Libraries Home Libraries People FAQ More

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