Lines Matching refs:const
32 typedef const value_type& const_reference;
41 explicit hash_set(size_type n = 193, const hasher& hf = hasher(),
42 const key_equal& eql = key_equal(),
43 const allocator_type& a = allocator_type());
46 size_type n = 193, const hasher& hf = hasher(),
47 const key_equal& eql = key_equal(),
48 const allocator_type& a = allocator_type());
49 hash_set(const hash_set&);
51 hash_set& operator=(const hash_set&);
53 allocator_type get_allocator() const;
55 bool empty() const;
56 size_type size() const;
57 size_type max_size() const;
61 const_iterator begin() const;
62 const_iterator end() const;
64 pair<iterator, bool> insert(const value_type& obj);
69 size_type erase(const key_type& k);
75 hasher hash_funct() const;
76 key_equal key_eq() const;
78 iterator find(const key_type& k);
79 const_iterator find(const key_type& k) const;
80 size_type count(const key_type& k) const;
81 pair<iterator, iterator> equal_range(const key_type& k);
82 pair<const_iterator, const_iterator> equal_range(const key_type& k) const;
84 size_type bucket_count() const;
85 size_type max_bucket_count() const;
87 size_type elems_in_bucket(size_type n) const;
98 operator==(const hash_set<Value, Hash, Pred, Alloc>& x,
99 const hash_set<Value, Hash, Pred, Alloc>& y);
103 operator!=(const hash_set<Value, Hash, Pred, Alloc>& x,
104 const hash_set<Value, Hash, Pred, Alloc>& y);
118 typedef const value_type& const_reference;
127 explicit hash_multiset(size_type n = 193, const hasher& hf = hasher(),
128 const key_equal& eql = key_equal(),
129 const allocator_type& a = allocator_type());
132 size_type n = 193, const hasher& hf = hasher(),
133 const key_equal& eql = key_equal(),
134 const allocator_type& a = allocator_type());
135 hash_multiset(const hash_multiset&);
137 hash_multiset& operator=(const hash_multiset&);
139 allocator_type get_allocator() const;
141 bool empty() const;
142 size_type size() const;
143 size_type max_size() const;
147 const_iterator begin() const;
148 const_iterator end() const;
150 iterator insert(const value_type& obj);
155 size_type erase(const key_type& k);
161 hasher hash_funct() const;
162 key_equal key_eq() const;
164 iterator find(const key_type& k);
165 const_iterator find(const key_type& k) const;
166 size_type count(const key_type& k) const;
167 pair<iterator, iterator> equal_range(const key_type& k);
168 pair<const_iterator, const_iterator> equal_range(const key_type& k) const;
170 size_type bucket_count() const;
171 size_type max_bucket_count() const;
173 size_type elems_in_bucket(size_type n) const;
184 operator==(const hash_multiset<Value, Hash, Pred, Alloc>& x,
185 const hash_multiset<Value, Hash, Pred, Alloc>& y);
189 operator!=(const hash_multiset<Value, Hash, Pred, Alloc>& x,
190 const hash_multiset<Value, Hash, Pred, Alloc>& y);
233 typedef const value_type& const_reference;
251 explicit hash_set(size_type __n, const hasher& __hf = hasher(),
252 const key_equal& __eql = key_equal());
253 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql,
254 const allocator_type& __a);
259 size_type __n, const hasher& __hf = hasher(),
260 const key_equal& __eql = key_equal());
263 size_type __n, const hasher& __hf, const key_equal& __eql,
264 const allocator_type& __a);
265 hash_set(const hash_set& __u);
268 allocator_type get_allocator() const
272 bool empty() const {return __table_.size() == 0;}
274 size_type size() const {return __table_.size();}
276 size_type max_size() const {return __table_.max_size();}
283 const_iterator begin() const {return __table_.begin();}
285 const_iterator end() const {return __table_.end();}
288 std::pair<iterator, bool> insert(const value_type& __x)
291 iterator insert(const_iterator, const value_type& __x) {return insert(__x).first;}
299 size_type erase(const key_type& __k) {return __table_.__erase_unique(__k);}
310 hasher hash_funct() const {return __table_.hash_function();}
312 key_equal key_eq() const {return __table_.key_eq();}
315 iterator find(const key_type& __k) {return __table_.find(__k);}
317 const_iterator find(const key_type& __k) const {return __table_.find(__k);}
319 size_type count(const key_type& __k) const {return __table_.__count_unique(__k);}
321 std::pair<iterator, iterator> equal_range(const key_type& __k)
324 std::pair<const_iterator, const_iterator> equal_range(const key_type& __k) const
328 size_type bucket_count() const {return __table_.bucket_count();}
330 size_type max_bucket_count() const {return __table_.max_bucket_count();}
333 size_type elems_in_bucket(size_type __n) const {return __table_.bucket_size(__n);}
341 const hasher& __hf, const key_equal& __eql)
349 const hasher& __hf, const key_equal& __eql, const allocator_type& __a)
367 const hasher& __hf, const key_equal& __eql)
378 const hasher& __hf, const key_equal& __eql, const allocator_type& __a)
387 const hash_set& __u)
416 operator==(const hash_set<_Value, _Hash, _Pred, _Alloc>& __x,
417 const hash_set<_Value, _Hash, _Pred, _Alloc>& __y)
436 operator!=(const hash_set<_Value, _Hash, _Pred, _Alloc>& __x,
437 const hash_set<_Value, _Hash, _Pred, _Alloc>& __y)
454 typedef const value_type& const_reference;
472 explicit hash_multiset(size_type __n, const hasher& __hf = hasher(),
473 const key_equal& __eql = key_equal());
474 hash_multiset(size_type __n, const hasher& __hf,
475 const key_equal& __eql, const allocator_type& __a);
480 size_type __n, const hasher& __hf = hasher(),
481 const key_equal& __eql = key_equal());
484 size_type __n , const hasher& __hf,
485 const key_equal& __eql, const allocator_type& __a);
486 hash_multiset(const hash_multiset& __u);
489 allocator_type get_allocator() const
493 bool empty() const {return __table_.size() == 0;}
495 size_type size() const {return __table_.size();}
497 size_type max_size() const {return __table_.max_size();}
504 const_iterator begin() const {return __table_.begin();}
506 const_iterator end() const {return __table_.end();}
509 iterator insert(const value_type& __x) {return __table_.__insert_multi(__x);}
511 iterator insert(const_iterator, const value_type& __x) {return insert(__x);}
519 size_type erase(const key_type& __k) {return __table_.__erase_multi(__k);}
530 hasher hash_funct() const {return __table_.hash_function();}
532 key_equal key_eq() const {return __table_.key_eq();}
535 iterator find(const key_type& __k) {return __table_.find(__k);}
537 const_iterator find(const key_type& __k) const {return __table_.find(__k);}
539 size_type count(const key_type& __k) const {return __table_.__count_multi(__k);}
541 std::pair<iterator, iterator> equal_range(const key_type& __k)
544 std::pair<const_iterator, const_iterator> equal_range(const key_type& __k) const
548 size_type bucket_count() const {return __table_.bucket_count();}
550 size_type max_bucket_count() const {return __table_.max_bucket_count();}
553 size_type elems_in_bucket(size_type __n) const {return __table_.bucket_size(__n);}
561 size_type __n, const hasher& __hf, const key_equal& __eql)
569 size_type __n, const hasher& __hf, const key_equal& __eql,
570 const allocator_type& __a)
588 const hasher& __hf, const key_equal& __eql)
599 const hasher& __hf, const key_equal& __eql, const allocator_type& __a)
608 const hash_multiset& __u)
637 operator==(const hash_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
638 const hash_multiset<_Value, _Hash, _Pred, _Alloc>& __y)
661 operator!=(const hash_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
662 const hash_multiset<_Value, _Hash, _Pred, _Alloc>& __y)