}
Defined in the header hash_map, and in the backward-compatibility header hash_map.h. This class is an SGI extension; it is not part of the C++ standard.
| Parameter | Description | Default |
|---|---|---|
Key | The hash_map's key type. This is also defined as | |
Data | The hash_map's data type. This is also defined as | |
HashFcn | The hash function used by the hash_map. This is also defined as | hash<Key> |
EqualKey | The hash_map key equality function: a binary predicate that determines whether two keys are equal. This is also defined as | equal_to<Key> |
Alloc | The | alloc |
Unique Hashed Associative Container, Pair Associative Container
None.
| Member | Where defined | Description |
|---|---|---|
key_type | Associative Container | The |
data_type | Pair Associative Container | The type of object associated with the keys. |
value_type | Pair Associative Container | The type of object, |
hasher | Hashed Associative Container | The |
key_equal | Hashed Associative Container | Function object that compares keys for equality. |
pointer | Container | Pointer to |
reference | Container | Reference to |
const_reference | Container |
Вы читаете Standard Template Library Programmer's Guide
