libstdc++
|
A collision-chaining hash-based associative container.
Key | Key type. |
Mapped | Map type. |
Hash_Fn | Hashing functor. |
Eq_Fn | Equal functor. |
Comb_Hash_Fn | Combining hash functor. If Hash_Fn is not null_type, then this is the ranged-hash functor; otherwise, this is the range-hashing functor. XXX(See Design::Hash-Based Containers::Hash Policies.) |
Resize_Policy | Resizes hash. |
Store_Hash | Indicates whether the hash value will be stored along with each key. If Hash_Fn is null_type, then the container will not compile if this value is true |
_Alloc | Allocator type. |
Base tag choices are: cc_hash_tag.
Base is basic_hash_table.
Definition at line 204 of file assoc_container.hpp.
__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table | ( | ) | [inline] |
Default constructor.
Definition at line 217 of file assoc_container.hpp.
__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table | ( | const hash_fn & | h | ) | [inline] |
Constructor taking some policy objects. r_hash_fn will be copied by the Hash_Fn object of the container object.
Definition at line 221 of file assoc_container.hpp.
__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table | ( | const hash_fn & | h, |
const eq_fn & | e | ||
) | [inline] |
Constructor taking some policy objects. r_hash_fn will be copied by the hash_fn object of the container object, and r_eq_fn will be copied by the eq_fn object of the container object.
Definition at line 228 of file assoc_container.hpp.
__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table | ( | const hash_fn & | h, |
const eq_fn & | e, | ||
const comb_hash_fn & | ch | ||
) | [inline] |
Constructor taking some policy objects. r_hash_fn will be copied by the hash_fn object of the container object, r_eq_fn will be copied by the eq_fn object of the container object, and r_comb_hash_fn will be copied by the comb_hash_fn object of the container object.
Definition at line 236 of file assoc_container.hpp.
__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table | ( | const hash_fn & | h, |
const eq_fn & | e, | ||
const comb_hash_fn & | ch, | ||
const resize_policy & | rp | ||
) | [inline] |
Constructor taking some policy objects. r_hash_fn will be copied by the hash_fn object of the container object, r_eq_fn will be copied by the eq_fn object of the container object, r_comb_hash_fn will be copied by the comb_hash_fn object of the container object, and r_resize_policy will be copied by the resize_policy object of the container object.
Definition at line 245 of file assoc_container.hpp.
__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table | ( | It | first, |
It | last | ||
) | [inline] |
Constructor taking __iterators to a range of value_types. The value_types between first_it and last_it will be inserted into the container object.
Definition at line 253 of file assoc_container.hpp.
__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table | ( | It | first, |
It | last, | ||
const hash_fn & | h | ||
) | [inline] |
Constructor taking __iterators to a range of value_types and some policy objects. The value_types between first_it and last_it will be inserted into the container object.
Definition at line 260 of file assoc_container.hpp.
__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table | ( | It | first, |
It | last, | ||
const hash_fn & | h, | ||
const eq_fn & | e | ||
) | [inline] |
Constructor taking __iterators to a range of value_types and some policy objects The value_types between first_it and last_it will be inserted into the container object. r_hash_fn will be copied by the hash_fn object of the container object, and r_eq_fn will be copied by the eq_fn object of the container object.
Definition at line 271 of file assoc_container.hpp.
__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table | ( | It | first, |
It | last, | ||
const hash_fn & | h, | ||
const eq_fn & | e, | ||
const comb_hash_fn & | ch | ||
) | [inline] |
Constructor taking __iterators to a range of value_types and some policy objects The value_types between first_it and last_it will be inserted into the container object. r_hash_fn will be copied by the hash_fn object of the container object, r_eq_fn will be copied by the eq_fn object of the container object, and r_comb_hash_fn will be copied by the comb_hash_fn object of the container object.
Definition at line 283 of file assoc_container.hpp.
__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table | ( | It | first, |
It | last, | ||
const hash_fn & | h, | ||
const eq_fn & | e, | ||
const comb_hash_fn & | ch, | ||
const resize_policy & | rp | ||
) | [inline] |
Constructor taking __iterators to a range of value_types and some policy objects The value_types between first_it and last_it will be inserted into the container object. r_hash_fn will be copied by the hash_fn object of the container object, r_eq_fn will be copied by the eq_fn object of the container object, r_comb_hash_fn will be copied by the comb_hash_fn object of the container object, and r_resize_policy will be copied by the resize_policy object of the container object.
Definition at line 297 of file assoc_container.hpp.