Lines Matching refs:__ht
340 hashtable(const hashtable& __ht)
341 : _M_node_allocator(__ht.get_allocator()), _M_hash(__ht._M_hash),
342 _M_equals(__ht._M_equals), _M_get_key(__ht._M_get_key),
343 _M_buckets(__ht.get_allocator()), _M_num_elements(0)
344 { _M_copy_from(__ht); }
347 operator= (const hashtable& __ht)
349 if (&__ht != this)
352 _M_hash = __ht._M_hash;
353 _M_equals = __ht._M_equals;
354 _M_get_key = __ht._M_get_key;
355 _M_copy_from(__ht);
376 swap(hashtable& __ht)
378 std::swap(_M_hash, __ht._M_hash);
379 std::swap(_M_equals, __ht._M_equals);
380 std::swap(_M_get_key, __ht._M_get_key);
381 _M_buckets.swap(__ht._M_buckets);
382 std::swap(_M_num_elements, __ht._M_num_elements);
633 _M_copy_from(const hashtable& __ht);
1101 _M_copy_from(const hashtable& __ht)
1104 _M_buckets.reserve(__ht._M_buckets.size());
1105 _M_buckets.insert(_M_buckets.end(), __ht._M_buckets.size(), (_Node*) 0);
1108 for (size_type __i = 0; __i < __ht._M_buckets.size(); ++__i) {
1109 const _Node* __cur = __ht._M_buckets[__i];
1124 _M_num_elements = __ht._M_num_elements;