A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/typeindex/type_index/hash_code/ below:

public member function

<typeindex>

std::type_index::hash_code
size_t hash_code() const;
size_t hash_code() const noexcept;

Get type hash code

Returns a hash code value that identifies the type currently referenced to by the object.

Internally, the function simply returns the result of calling member hash_code on the type_info it refers to.

This function returns the same value for any two type_index objects that compare equal.



Parameters none

Return Value A value that identifies the type (runtime constant).
size_t is an unsigned integral type.

Data races No data races are initiated by this member function.

Exception safetyNo-throw guarantee: never throws exceptions.

See also
type_info::hash_code
Get type hash code (public member function)
type_index::name
Get type name (public member function)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4