.TH "__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc > .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fB__gnu_pbds::basic_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Resize_Policy, Store_Hash, Tag, Policy_Tl, _Alloc >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef Comb_Hash_Fn \fBcomb_hash_fn\fP" .br .ti -1c .RI "typedef \fBcc_hash_tag\fP \fBcontainer_category\fP" .br .ti -1c .RI "typedef Eq_Fn \fBeq_fn\fP" .br .ti -1c .RI "typedef Hash_Fn \fBhash_fn\fP" .br .ti -1c .RI "typedef Resize_Policy \fBresize_policy\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBcc_hash_table\fP ()" .br .RI "Default constructor\&. " .ti -1c .RI "\fBcc_hash_table\fP (const \fBcc_hash_table\fP &other)" .br .ti -1c .RI "\fBcc_hash_table\fP (const hash_fn &h)" .br .RI "Constructor taking some policy objects\&. r_hash_fn will be copied by the Hash_Fn object of the container object\&. " .ti -1c .RI "\fBcc_hash_table\fP (const hash_fn &h, const eq_fn &e)" .br .RI "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\&. " .ti -1c .RI "\fBcc_hash_table\fP (const hash_fn &h, const eq_fn &e, const comb_hash_fn &ch)" .br .RI "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\&. " .ti -1c .RI "\fBcc_hash_table\fP (const hash_fn &h, const eq_fn &e, const comb_hash_fn &ch, const resize_policy &rp)" .br .RI "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\&. " .ti -1c .RI "template \fBcc_hash_table\fP (It first, It last)" .br .RI "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\&. " .ti -1c .RI "template \fBcc_hash_table\fP (It first, It last, const hash_fn &h)" .br .RI "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\&. " .ti -1c .RI "template \fBcc_hash_table\fP (It first, It last, const hash_fn &h, const eq_fn &e)" .br .RI "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\&. " .ti -1c .RI "template \fBcc_hash_table\fP (It first, It last, const hash_fn &h, const eq_fn &e, const comb_hash_fn &ch)" .br .RI "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\&. " .ti -1c .RI "template \fBcc_hash_table\fP (It first, It last, const hash_fn &h, const eq_fn &e, const comb_hash_fn &ch, const resize_policy &rp)" .br .RI "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\&. " .ti -1c .RI "\fBcc_hash_table\fP & \fBoperator=\fP (const \fBcc_hash_table\fP &other)" .br .ti -1c .RI "void \fBswap\fP (\fBcc_hash_table\fP &other)" .br .in -1c .SH "Detailed Description" .PP .SS "template::type, typename Eq_Fn = typename detail::default_eq_fn::type, typename Comb_Hash_Fn = detail::default_comb_hash_fn::type, typename Resize_Policy = typename detail::default_resize_policy::type, bool Store_Hash = detail::default_store_hash, typename _Alloc = std::allocator> .br class __gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >"A collision-chaining hash-based associative container\&. .PP \fBTemplate Parameters\fP .RS 4 \fIKey\fP Key type\&. .br \fIMapped\fP Map type\&. .br \fIHash_Fn\fP Hashing functor\&. .br \fIEq_Fn\fP Equal functor\&. .br \fIComb_Hash_Fn\fP 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\&.) .br \fIResize_Policy\fP Resizes hash\&. .br \fIStore_Hash\fP 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 .br \fI_Alloc\fP Allocator type\&. .RE .PP Base tag choices are: cc_hash_tag\&. .PP Base is basic_hash_table\&. .SH "Constructor & Destructor Documentation" .PP .SS "template::type, typename Eq_Fn = typename detail::default_eq_fn::type, typename Comb_Hash_Fn = detail::default_comb_hash_fn::type, typename Resize_Policy = typename detail::default_resize_policy::type, bool Store_Hash = detail::default_store_hash, typename _Alloc = std::allocator> \fB__gnu_pbds::cc_hash_table\fP< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table ()\fC [inline]\fP" .PP Default constructor\&. .SS "template::type, typename Eq_Fn = typename detail::default_eq_fn::type, typename Comb_Hash_Fn = detail::default_comb_hash_fn::type, typename Resize_Policy = typename detail::default_resize_policy::type, bool Store_Hash = detail::default_store_hash, typename _Alloc = std::allocator> \fB__gnu_pbds::cc_hash_table\fP< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table (const hash_fn & h)\fC [inline]\fP" .PP Constructor taking some policy objects\&. r_hash_fn will be copied by the Hash_Fn object of the container object\&. .SS "template::type, typename Eq_Fn = typename detail::default_eq_fn::type, typename Comb_Hash_Fn = detail::default_comb_hash_fn::type, typename Resize_Policy = typename detail::default_resize_policy::type, bool Store_Hash = detail::default_store_hash, typename _Alloc = std::allocator> \fB__gnu_pbds::cc_hash_table\fP< 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)\fC [inline]\fP" .PP 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\&. .SS "template::type, typename Eq_Fn = typename detail::default_eq_fn::type, typename Comb_Hash_Fn = detail::default_comb_hash_fn::type, typename Resize_Policy = typename detail::default_resize_policy::type, bool Store_Hash = detail::default_store_hash, typename _Alloc = std::allocator> \fB__gnu_pbds::cc_hash_table\fP< 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)\fC [inline]\fP" .PP 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\&. .SS "template::type, typename Eq_Fn = typename detail::default_eq_fn::type, typename Comb_Hash_Fn = detail::default_comb_hash_fn::type, typename Resize_Policy = typename detail::default_resize_policy::type, bool Store_Hash = detail::default_store_hash, typename _Alloc = std::allocator> \fB__gnu_pbds::cc_hash_table\fP< 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)\fC [inline]\fP" .PP 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\&. .SS "template::type, typename Eq_Fn = typename detail::default_eq_fn::type, typename Comb_Hash_Fn = detail::default_comb_hash_fn::type, typename Resize_Policy = typename detail::default_resize_policy::type, bool Store_Hash = detail::default_store_hash, typename _Alloc = std::allocator> template \fB__gnu_pbds::cc_hash_table\fP< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >::cc_hash_table (It first, It last)\fC [inline]\fP" .PP 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\&. .SS "template::type, typename Eq_Fn = typename detail::default_eq_fn::type, typename Comb_Hash_Fn = detail::default_comb_hash_fn::type, typename Resize_Policy = typename detail::default_resize_policy::type, bool Store_Hash = detail::default_store_hash, typename _Alloc = std::allocator> template \fB__gnu_pbds::cc_hash_table\fP< 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)\fC [inline]\fP" .PP 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\&. .SS "template::type, typename Eq_Fn = typename detail::default_eq_fn::type, typename Comb_Hash_Fn = detail::default_comb_hash_fn::type, typename Resize_Policy = typename detail::default_resize_policy::type, bool Store_Hash = detail::default_store_hash, typename _Alloc = std::allocator> template \fB__gnu_pbds::cc_hash_table\fP< 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)\fC [inline]\fP" .PP 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\&. .SS "template::type, typename Eq_Fn = typename detail::default_eq_fn::type, typename Comb_Hash_Fn = detail::default_comb_hash_fn::type, typename Resize_Policy = typename detail::default_resize_policy::type, bool Store_Hash = detail::default_store_hash, typename _Alloc = std::allocator> template \fB__gnu_pbds::cc_hash_table\fP< 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)\fC [inline]\fP" .PP 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\&. .SS "template::type, typename Eq_Fn = typename detail::default_eq_fn::type, typename Comb_Hash_Fn = detail::default_comb_hash_fn::type, typename Resize_Policy = typename detail::default_resize_policy::type, bool Store_Hash = detail::default_store_hash, typename _Alloc = std::allocator> template \fB__gnu_pbds::cc_hash_table\fP< 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)\fC [inline]\fP" .PP 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\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.