__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >(3cxx) | __gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >(3cxx) |
__gnu_pbds::cc_hash_table< Key, Mapped, Hash_Fn, Eq_Fn, Comb_Hash_Fn, Resize_Policy, Store_Hash, _Alloc >
#include <assoc_container.hpp>
Inherits __gnu_pbds::basic_hash_table< Key, Mapped, typename detail::default_hash_fn< Key >::type, typename detail::default_eq_fn< Key >::type, typename detail::default_resize_policy< detail::default_comb_hash_fn::type >::type, detail::default_store_hash, cc_hash_tag, __gnu_cxx::typelist::create1< detail::default_comb_hash_fn::type >::type, std::allocator< char > >.
typedef Comb_Hash_Fn comb_hash_fn
typedef cc_hash_tag container_category
typedef Eq_Fn eq_fn
typedef Hash_Fn hash_fn
typedef Resize_Policy resize_policy
cc_hash_table ()
Default constructor. cc_hash_table (const cc_hash_table
&other)
cc_hash_table (const hash_fn &h)
Constructor taking some policy objects. r_hash_fn will be copied by the
Hash_Fn object of the container object. cc_hash_table (const hash_fn
&h, const eq_fn &e)
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. cc_hash_table (const hash_fn
&h, const eq_fn &e, const comb_hash_fn &ch)
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. cc_hash_table (const
hash_fn &h, const eq_fn &e, const comb_hash_fn &ch, const
resize_policy &rp)
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.
template<typename It > cc_hash_table (It first, It last)
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.
template<typename It > cc_hash_table (It first, It last, const
hash_fn &h)
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. template<typename It > cc_hash_table (It
first, It last, const hash_fn &h, const eq_fn &e)
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. template<typename It > cc_hash_table (It
first, It last, const hash_fn &h, const eq_fn &e, const comb_hash_fn
&ch)
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. template<typename It >
cc_hash_table (It first, It last, const hash_fn &h, const eq_fn
&e, const comb_hash_fn &ch, const resize_policy &rp)
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. cc_hash_table &
operator= (const cc_hash_table &other)
void swap (cc_hash_table &other)
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.
Template Parameters
Base tag choices are: cc_hash_tag.
Base is basic_hash_table.
Definition at line 204 of file assoc_container.hpp.
Definition at line 214 of file assoc_container.hpp.
Definition at line 210 of file assoc_container.hpp.
Definition at line 212 of file assoc_container.hpp.
Definition at line 211 of file assoc_container.hpp.
Definition at line 213 of file assoc_container.hpp.
Default constructor.
Definition at line 217 of file assoc_container.hpp.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Definition at line 302 of file assoc_container.hpp.
Definition at line 307 of file assoc_container.hpp.
Definition at line 310 of file assoc_container.hpp.
Definition at line 321 of file assoc_container.hpp.
Generated automatically by Doxygen for libstdc++ from the source code.
Thu Feb 16 2023 | libstdc++ |