Return the case‐insensitive digest of a string
Synopsis
std::size_t
ci_digest(core::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
The digest
Parameters
Name |
Description |
s |
The string |
Created with MrDocs