hash Structure
The class template defines its method as returning val.hash_code()
. The method defines a hash function that is used to map values of type type_index to a distribution of index values.
Syntax
template <> struct hash<type_index>
: public unary_function<type_index, size_t>
{ // hashes a typeinfo object
size_t operator()(type_index val) const;
};
Specialized Types
<system_error>
template <class T> struct hash;
template <> struct hash<error_code>;
template <> struct hash<error_condition>;
See also
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про