Przejdź do głównej zawartości

std::unordered_multiset hash_function() method

// Const version only
hasher hash_function() const;

Returns the function that hashes the keys.

Parameters

(none)

Return value

The hash function.

Complexity

Constant - O(1).

Exceptions

(none)

Example

important

This section requires improvement. You can help by editing this doc page.

This article originates from this CppReference page. It was likely altered for improvements or editors' preference. Click "Edit this page" to see all changes made to this document.
Hover to see the original license.

std::unordered_multiset hash_function() method

// Const version only
hasher hash_function() const;

Returns the function that hashes the keys.

Parameters

(none)

Return value

The hash function.

Complexity

Constant - O(1).

Exceptions

(none)

Example

important

This section requires improvement. You can help by editing this doc page.

This article originates from this CppReference page. It was likely altered for improvements or editors' preference. Click "Edit this page" to see all changes made to this document.
Hover to see the original license.