Return the case-insensitive digest of a string

Synopsis

Declared in header </boost/url/grammar/ci_string.hpp#L140[boost/url/grammar/ci_string.hpp,window=blank_]>

size_t
ci_digest(string_view s) noexcept;

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

  • size_t

Parameters

Name Type

s

string_view