1
A
回答
6
不,不。在[function.objects]列舉的專業有:
// Hash function specializations template <> struct hash<bool>; template <> struct hash<char>; template <> struct hash<signed char>; template <> struct hash<unsigned char>; template <> struct hash<char16_t>; template <> struct hash<char32_t>; template <> struct hash<wchar_t>; template <> struct hash<short>; template <> struct hash<unsigned short>; template <> struct hash<int>; template <> struct hash<unsigned int>; template <> struct hash<long>; template <> struct hash<long long>; template <> struct hash<unsigned long>; template <> struct hash<unsigned long long>; template <> struct hash<float>; template <> struct hash<double>; template <> struct hash<long double>; template<class T> struct hash<T*>;
而且,你會這樣的事情,即使是什麼意思?
相關問題
- 1. 未定義的散列函數引用
- 2. 作爲散列表的散列函數是否足夠好作爲散列表C
- 3. 爲什麼給定的散列函數是一個糟糕的散列函數?
- 4. 是否有glibc散列函數?
- 5. C++將函數指針轉換爲唯一的「散列」鍵
- 6. C++ 11或boost是否帶有char *的散列函數?
- 7. Botan C++散列函數generate_bcrypt()
- 8. #puts是否創建了新的散列?
- 9. 瞭解c函數指針
- 10. 什麼是散列函數?
- 11. 索引器是否總是引用一個離散序列?
- 12. 如何確定使用了哪個散列函數?
- 13. 如何檢查散列引用在perl中是否爲空
- 14. 散列值是否包含引號?
- 15. SQL Server是否支持散列索引?
- 16. 我是否僅在函數頭或聲明中指定了異常類型? (C++)
- 17. 散列函數是否應該返回散列的數值或該值%numBuckets?
- 18. 確定散列是否是紅寶石中的嵌套散列
- 19. C++檢查數據是否指定了字符串
- 20. 是否有任何JavaScript函數,它不從指定索引
- 21. 是否定義了匿名函數?
- 22. C++指針,引用和函數調用
- 23. 散列函數
- 24. 「函數指針」或「函數引用」作爲C++函數的參數發生了什麼?
- 25. 索引對象的散列函數
- 26. 如何檢查是否引用指定
- 27. 如何確定參數是否爲純函數指針?
- 28. 我是否在updateDate函數中正確使用了指針?
- 29. 是否使用了指令的鏈接函數的返回值?
- 30. C#編譯器是否爲引用類型(如果沒有指定)或CLR提供默認構造函數?
順便說一下,它將是UB專門爲它(作爲用戶)的T&'。 – Jarod42