Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
url_view_base::digest

Calculate a hash of the url.

Synopsis
std::size_t
digest(
    std::size_t salt = 0) const;
Description

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

Complexity

Linear in this->size().

Exception Safety

Throws nothing.

Parameters

Name

Description

salt

An initial value to add to the hash

Return Value

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


PrevUpHomeNext