System::GetHashCode metodo

System::GetHashCode(const std::thread::id&) method

Specializzazione per std::thread::id; Restituisce il codice hash per l’oggetto thread specificato.

int System::GetHashCode(const std::thread::id &id)

Vedi anche

System::GetHashCode(const T&) method

Restituisce un codice hash per il valore scalare specificato.

template<typename T> std::enable_if<std::is_scalar<T>::value, int>::type System::GetHashCode(const T &obj)
ParametroDescrizione
TIl tipo del valore per il quale la funzione genera il codice hash
ParametroTipoDescrizione
objconst T&Il valore per cui generare il codice hash

ReturnValue

Il codice hash generato per il valore specificato

Vedi anche

System::GetHashCode(const T&) method

Restituisce un codice hash per l’oggetto specificato.

template<typename T> std::enable_if<!std::is_scalar<T>::value &&System::IsSmartPtr<T>::value, int>::type System::GetHashCode(const T &obj)
ParametroDescrizione
TIl tipo dell’oggetto per il quale la funzione genera il codice hash
ParametroTipoDescrizione
objconst T&Il SmartPtr che punta all’oggetto per cui generare il codice hash

ReturnValue

Il codice hash generato per l’oggetto specificato

Vedi anche

System::GetHashCode(const T&) method

Restituisce un codice hash per l’oggetto specificato che è un’eccezione.

template<typename T> std::enable_if<System::IsExceptionWrapper<T>::value, int>::type System::GetHashCode(const T &obj)
ParametroDescrizione
TIl tipo dell’oggetto per il quale la funzione genera il codice hash
ParametroTipoDescrizione
objconst T&Il wrapper Exception che contiene l’oggetto per cui generare il codice hash

ReturnValue

Il codice hash generato per l’oggetto specificato

Vedi anche

System::GetHashCode(const T&) method

Restituisce un codice hash per l’oggetto specificato che non è né un puntatore intelligente né un’eccezione.

template<typename T> std::enable_if<!std::is_scalar<T>::value &&!System::IsSmartPtr<T>::value &&!System::IsExceptionWrapper<T>::value, int>::type System::GetHashCode(const T &obj)
ParametroDescrizione
TIl tipo dell’oggetto per il quale la funzione genera il codice hash
ParametroTipoDescrizione
objconst T&Un riferimento const all’oggetto per cui generare il codice hash

ReturnValue

Il codice hash generato per l’oggetto specificato

Vedi anche