boost::urls::url_view_base::digest

Calculate a hash of the url

Synopsis

std::size_t
digest(std::size_t salt = 0) const noexcept;

Description

This function calculates a hash of the url as if it were always normalized.

Complexity

Linear in this‐>size().

Exception Safety

Throws nothing.

Return Value

A hash value suitable for use in hash‐based containers.

Parameters

Name

Description

salt

An initial value to add to the hash

Created with MrDocs