System::GetHashCode metodu

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

std::thread::id için özelleştirme; belirtilen thread nesnesi için hash kodunu döndürür.

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

Ayrıca Bakınız

System::GetHashCode(const T&) method

Belirtilen skaler değer için bir hash kodu döndürür.

template<typename T> std::enable_if<std::is_scalar<T>::value, int>::type System::GetHashCode(const T &obj)
ParameterAçıklama
TFonksiyonun hash kodu ürettiği değerin tipi
ParameterTypeAçıklama
objconst T&Hash kodu üretilecek değer

ReturnValue

Belirtilen değer için üretilen hash kodu

Ayrıca Bakınız

System::GetHashCode(const T&) method

Belirtilen nesne için bir karma kodu döndürür.

template<typename T> std::enable_if<!std::is_scalar<T>::value &&System::IsSmartPtr<T>::value, int>::type System::GetHashCode(const T &obj)
ParameterAçıklama
TFonksiyonun karma kodu ürettiği nesnenin türü
ParameterTypeAçıklama
objconst T&Karma kodu üretilecek nesneyi işaret eden SmartPtr

ReturnValue

Belirtilen nesne için oluşturulan karma kodu

Ayrıca Bakınız

System::GetHashCode(const T&) method

Belirtilen nesne (istisna) için bir karma kodu döndürür.

template<typename T> std::enable_if<System::IsExceptionWrapper<T>::value, int>::type System::GetHashCode(const T &obj)
ParameterAçıklama
TFonksiyonun karma kodu ürettiği nesnenin türü
ParameterTypeAçıklama
objconst T&Karma kodu üretilecek nesneyi içeren Exception sarmalayıcı

ReturnValue

Belirtilen nesne için oluşturulan karma kodu

Ayrıca Bakınız

System::GetHashCode(const T&) method

Belirtilen nesne akıllı işaretçi ya da istisna olmadığında bir karma kodu döndürür.

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)
ParameterAçıklama
TFonksiyonun karma kodu ürettiği nesnenin türü
ParameterTypeAçıklama
objconst T&Karma kodu üretilecek nesneye const referans

ReturnValue

Belirtilen nesne için oluşturulan karma kodu

Ayrıca Bakınız