n buckets, using h as the hash function and k as the key equal function. template <class InputIterator> hash_multiset(InputIterator, InputIterator) [1] Multiple Hashed Associative Container Creates a hash_multiset with a copy of a range. template <class InputIterator> hash_multiset(InputIterator, InputIterator, size_type n) [1] Multiple Hashed Associative Container Creates a hash_multiset with a copy of a range and a bucket count of at least n. template <class InputIterator> hash_multiset(InputIterator, InputIterator, size_type n, const hasher& h) [1] Multiple Hashed Associative Container Creates a hash_multiset with a copy of a range and a bucket count of at least n, using h as the hash function. template <class InputIterator> hash_multiset(InputIterator, InputIterator, size_type n, const hasher& h, const key_equal& k) [1] Multiple Hashed Associative Container Creates a hash_multiset with a copy of a range and a bucket count of at least n, using h as the hash function and k as the key equal function. hash_multiset(const hash_multiset&) Container The copy constructor. hash_multiset& operator=(const hash_multiset&) Container The assignment operator void swap(hash_multiset&) Container Swaps the contents of two hash_multisets. iterator insert(const value_type& x) Multiple Associative Container Inserts x into the hash_multiset. template <class InputIterator> void insert(InputIterator, InputIterator) [1] Multiple Associative Container Inserts a range into the hash_multiset. void erase(iterator pos) Associative Container Erases the element pointed to by pos. size_type erase(const key_type& k) Associative Container Erases the element whose key is k. void erase(iterator first, iterator last) Associative Container Erases all elements in a range. void clear() Associative Container Erases all of the elements. iterator find(const key_type& k) const Associative Container Finds an element whose key is k. size_type count(const key_type& k) const Associative Container Counts the number of elements whose key is k. pair<iterator, iterator> equal_range(const key_type& k) const Associative Container Finds a range containing all elements whose key is k. bool operator==(const hash_multiset&, const hash_multiset&)
Добавить отзыв
ВСЕ ОТЗЫВЫ О КНИГЕ В ИЗБРАННОЕ

0

Вы можете отметить интересные вам фрагменты текста, которые будут доступны по уникальной ссылке в адресной строке браузера.

Отметить Добавить цитату