亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? stl_hash_set.h

?? 粗慥集成算法集合 ,并有詳細的文檔資料和測試數據處
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*
 *
 * Copyright (c) 1994
 * Hewlett-Packard Company
 *
 * Copyright (c) 1996,1997
 * Silicon Graphics Computer Systems, Inc.
 *
 * Copyright (c) 1997
 * Moscow Center for SPARC Technology
 *
 * Copyright (c) 1999 
 * Boris Fomitchev
 *
 * This material is provided "as is", with absolutely no warranty expressed
 * or implied. Any use is at your own risk.
 *
 * Permission to use or copy this software for any purpose is hereby granted 
 * without fee, provided the above notices are retained on all copies.
 * Permission to modify the code and to distribute modified code is granted,
 * provided the above notices are retained, and a notice that the code was
 * modified is included with the above copyright notice.
 *
 */

/* NOTE: This is an internal header file, included by other STL headers.
 *   You should not attempt to use it directly.
 */

#ifndef __SGI_STL_INTERNAL_HASH_SET_H
#define __SGI_STL_INTERNAL_HASH_SET_H

__STL_BEGIN_NAMESPACE

#if defined(__sgi) && !defined(__GNUC__) && (_MIPS_SIM != _MIPS_SIM_ABI32)
#pragma set woff 1174
#pragma set woff 1375
#endif

# define  hash_set      __WORKAROUND_RENAME(hash_set)
# define  hash_multiset __WORKAROUND_RENAME(hash_multiset)

template <class _Value, __DFL_TMPL_PARAM(_HashFcn,hash<_Value>),
          __DFL_TMPL_PARAM(_EqualKey,equal_to<_Value>),
          __STL_DEFAULT_ALLOCATOR_SELECT(_Value) >
class hash_set
{
private:
  typedef hashtable<_Value, _Value, _HashFcn, _Identity<_Value>, 
                    _EqualKey, _Alloc> _Ht;
  typedef hash_set<_Value, _HashFcn, _EqualKey, _Alloc> _Self;
  typedef typename _Ht::iterator _ht_iterator;
public:
  typedef typename _Ht::key_type key_type;
  typedef typename _Ht::value_type value_type;
  typedef typename _Ht::hasher hasher;
  typedef typename _Ht::key_equal key_equal;

  typedef typename _Ht::size_type size_type;
  typedef typename _Ht::difference_type difference_type;
  typedef typename _Ht::const_pointer pointer;
  typedef typename _Ht::const_pointer const_pointer;
  typedef typename _Ht::const_reference reference;
  typedef typename _Ht::const_reference const_reference;

  // SunPro bug
  typedef typename _Ht::const_iterator const_iterator;
  typedef const_iterator iterator;

  typedef typename _Ht::allocator_type allocator_type;

  hasher hash_funct() const { return _M_ht.hash_funct(); }
  key_equal key_eq() const { return _M_ht.key_eq(); }
  allocator_type get_allocator() const { return _M_ht.get_allocator(); }

private:
  _Ht _M_ht;

public:
  hash_set()
    : _M_ht(100, hasher(), key_equal(), allocator_type()) {}
  explicit hash_set(size_type __n)
    : _M_ht(__n, hasher(), key_equal(), allocator_type()) {}
  hash_set(size_type __n, const hasher& __hf)
    : _M_ht(__n, __hf, key_equal(), allocator_type()) {}
  hash_set(size_type __n, const hasher& __hf, const key_equal& __eql,
           const allocator_type& __a = __STL_ALLOC_INSTANCE(allocator_type))
    : _M_ht(__n, __hf, __eql, __a) {}

#ifdef __STL_MEMBER_TEMPLATES
  template <class _InputIterator>
  hash_set(_InputIterator __f, _InputIterator __l)
    : _M_ht(100, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  template <class _InputIterator>
  hash_set(_InputIterator __f, _InputIterator __l, size_type __n)
    : _M_ht(__n, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  template <class _InputIterator>
  hash_set(_InputIterator __f, _InputIterator __l, size_type __n,
           const hasher& __hf)
    : _M_ht(__n, __hf, key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  template <class _InputIterator>
  hash_set(_InputIterator __f, _InputIterator __l, size_type __n,
           const hasher& __hf, const key_equal& __eql,
           const allocator_type& __a = __STL_ALLOC_INSTANCE(allocator_type))
    : _M_ht(__n, __hf, __eql, __a)
    { _M_ht.insert_unique(__f, __l); }
#else

  hash_set(const value_type* __f, const value_type* __l)
    : _M_ht(100, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  hash_set(const value_type* __f, const value_type* __l, size_type __n)
    : _M_ht(__n, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  hash_set(const value_type* __f, const value_type* __l, size_type __n,
           const hasher& __hf)
    : _M_ht(__n, __hf, key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  hash_set(const value_type* __f, const value_type* __l, size_type __n,
           const hasher& __hf, const key_equal& __eql,
           const allocator_type& __a = __STL_ALLOC_INSTANCE(allocator_type))
    : _M_ht(__n, __hf, __eql, __a)
    { _M_ht.insert_unique(__f, __l); }

  hash_set(const_iterator __f, const_iterator __l)
    : _M_ht(100, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  hash_set(const_iterator __f, const_iterator __l, size_type __n)
    : _M_ht(__n, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  hash_set(const_iterator __f, const_iterator __l, size_type __n,
           const hasher& __hf)
    : _M_ht(__n, __hf, key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  hash_set(const_iterator __f, const_iterator __l, size_type __n,
           const hasher& __hf, const key_equal& __eql,
           const allocator_type& __a = __STL_ALLOC_INSTANCE(allocator_type))
    : _M_ht(__n, __hf, __eql, __a)
    { _M_ht.insert_unique(__f, __l); }
#endif /*__STL_MEMBER_TEMPLATES */

public:
  size_type size() const { return _M_ht.size(); }
  size_type max_size() const { return _M_ht.max_size(); }
  bool empty() const { return _M_ht.empty(); }
  void swap(_Self& __hs) { _M_ht.swap(__hs._M_ht); }

  iterator begin() const { return _M_ht.begin(); }
  iterator end() const { return _M_ht.end(); }

public:
  pair<iterator, bool> insert(const value_type& __obj)
    {
      pair<_ht_iterator, bool> __p = _M_ht.insert_unique(__obj);
      return pair<iterator,bool>((const iterator&)__p.first, __p.second);
    }
#ifdef __STL_MEMBER_TEMPLATES
  template <class _InputIterator>
  void insert(_InputIterator __f, _InputIterator __l) 
    { _M_ht.insert_unique(__f,__l); }
#else
  void insert(const value_type* __f, const value_type* __l) {
    _M_ht.insert_unique(__f,__l);
  }
  void insert(const_iterator __f, const_iterator __l) 
    {_M_ht.insert_unique(__f, __l); }
#endif /*__STL_MEMBER_TEMPLATES */
  pair<iterator, bool> insert_noresize(const value_type& __obj)
  {
    pair<_ht_iterator, bool> __p = 
      _M_ht.insert_unique_noresize(__obj);
    return pair<iterator, bool>(__p.first, __p.second);
  }

  iterator find(const key_type& __key) const { return _M_ht.find(__key); }

  size_type count(const key_type& __key) const { return _M_ht.count(__key); }
  
  pair<iterator, iterator> equal_range(const key_type& __key) const
    { return _M_ht.equal_range(__key); }

  size_type erase(const key_type& __key) {return _M_ht.erase(__key); }
  void erase(iterator __it) { _M_ht.erase(__it); }
  void erase(iterator __f, iterator __l) { _M_ht.erase(__f, __l); }
  void clear() { _M_ht.clear(); }

public:
  void resize(size_type __hint) { _M_ht.resize(__hint); }
  size_type bucket_count() const { return _M_ht.bucket_count(); }
  size_type max_bucket_count() const { return _M_ht.max_bucket_count(); }
  size_type elems_in_bucket(size_type __n) const
    { return _M_ht.elems_in_bucket(__n); }

  static bool _M_equal (const _Self& __x, const _Self& __y) {
    return _Ht::_M_equal(__x._M_ht,__y._M_ht);
  }

};


template <class _Value, class _HashFcn, class _EqualKey, class _Alloc>
inline bool 
operator==(const hash_set<_Value,_HashFcn,_EqualKey,_Alloc>& __hs1,
           const hash_set<_Value,_HashFcn,_EqualKey,_Alloc>& __hs2)
{
  return hash_set<_Value,_HashFcn,_EqualKey,_Alloc>::_M_equal(__hs1, __hs2);
}

#ifdef __STL_USE_SEPARATE_RELOPS_NAMESPACE

template <class _Value, class _HashFcn, class _EqualKey, class _Alloc>
inline bool 
operator!=(const hash_set<_Value,_HashFcn,_EqualKey,_Alloc>& __hs1,
           const hash_set<_Value,_HashFcn,_EqualKey,_Alloc>& __hs2) {
  return !(__hs1 == __hs2);
}

template <class _Val, class _HashFcn, class _EqualKey, class _Alloc>
inline void 
swap(hash_set<_Val,_HashFcn,_EqualKey,_Alloc>& __hs1,
     hash_set<_Val,_HashFcn,_EqualKey,_Alloc>& __hs2)
{
  __hs1.swap(__hs2);
}

#endif /* __STL_USE_SEPARATE_RELOPS_NAMESPACE */


template <class _Value, __DFL_TMPL_PARAM(_HashFcn,hash<_Value>),
          __DFL_TMPL_PARAM(_EqualKey,equal_to<_Value>),
          __STL_DEFAULT_ALLOCATOR_SELECT(_Value) >
class hash_multiset
{
private:
  typedef hashtable<_Value, _Value, _HashFcn, _Identity<_Value>, 
                    _EqualKey, _Alloc> _Ht;
  typedef hash_multiset<_Value, _HashFcn, _EqualKey, _Alloc> _Self;

public:
  typedef typename _Ht::key_type key_type;
  typedef typename _Ht::value_type value_type;
  typedef typename _Ht::hasher hasher;
  typedef typename _Ht::key_equal key_equal;

  typedef typename _Ht::size_type size_type;
  typedef typename _Ht::difference_type difference_type;
  typedef typename _Ht::const_pointer pointer;
  typedef typename _Ht::const_pointer const_pointer;
  typedef typename _Ht::const_reference reference;
  typedef typename _Ht::const_reference const_reference;

  typedef typename _Ht::const_iterator const_iterator;
  // SunPro bug
  typedef const_iterator iterator;

  typedef typename _Ht::allocator_type allocator_type;

  hasher hash_funct() const { return _M_ht.hash_funct(); }
  key_equal key_eq() const { return _M_ht.key_eq(); }
  allocator_type get_allocator() const { return _M_ht.get_allocator(); }

private:
  _Ht _M_ht;

public:
  hash_multiset()
    : _M_ht(100, hasher(), key_equal(), allocator_type()) {}
  explicit hash_multiset(size_type __n)
    : _M_ht(__n, hasher(), key_equal(), allocator_type()) {}
  hash_multiset(size_type __n, const hasher& __hf)
    : _M_ht(__n, __hf, key_equal(), allocator_type()) {}
  hash_multiset(size_type __n, const hasher& __hf, const key_equal& __eql,
                const allocator_type& __a = __STL_ALLOC_INSTANCE(allocator_type))
    : _M_ht(__n, __hf, __eql, __a) {}

#ifdef __STL_MEMBER_TEMPLATES
  template <class _InputIterator>
  hash_multiset(_InputIterator __f, _InputIterator __l)
    : _M_ht(100, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_equal(__f, __l); }
  template <class _InputIterator>
  hash_multiset(_InputIterator __f, _InputIterator __l, size_type __n)
    : _M_ht(__n, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_equal(__f, __l); }
  template <class _InputIterator>
  hash_multiset(_InputIterator __f, _InputIterator __l, size_type __n,
                const hasher& __hf)
    : _M_ht(__n, __hf, key_equal(), allocator_type())
    { _M_ht.insert_equal(__f, __l); }
  template <class _InputIterator>
  hash_multiset(_InputIterator __f, _InputIterator __l, size_type __n,
                const hasher& __hf, const key_equal& __eql,
                const allocator_type& __a = __STL_ALLOC_INSTANCE(allocator_type))
    : _M_ht(__n, __hf, __eql, __a)
    { _M_ht.insert_equal(__f, __l); }
#else

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品一区第一页| 奇米色777欧美一区二区| 久久久蜜臀国产一区二区| 在线播放亚洲一区| 欧美精品18+| 日韩欧美自拍偷拍| 久久麻豆一区二区| 国产日韩欧美在线一区| 国产女人18水真多18精品一级做| 国产片一区二区三区| 欧美国产在线观看| 一区二区三区在线视频免费| 夜夜操天天操亚洲| 日日摸夜夜添夜夜添国产精品 | 久久久精品影视| 国产三级精品三级在线专区| 国产午夜精品美女毛片视频| 国产精品视频一二三区| 亚洲人成精品久久久久久| 亚洲综合在线视频| 日本三级亚洲精品| 国产成人免费视频网站| 91免费版pro下载短视频| 精品视频在线免费看| 26uuu精品一区二区| 国产精品久久久久久久久免费相片| 亚洲免费大片在线观看| 奇米影视在线99精品| 国产a视频精品免费观看| 色就色 综合激情| 日韩午夜三级在线| 中文字幕一区二区三区色视频| 夜夜操天天操亚洲| 国模娜娜一区二区三区| 色老汉一区二区三区| 久久综合国产精品| 性欧美大战久久久久久久久| 国产在线日韩欧美| 欧美三级三级三级爽爽爽| 久久亚洲春色中文字幕久久久| 一区在线观看视频| 精品一区二区三区免费毛片爱| 91在线视频播放地址| 欧美不卡在线视频| 一区二区三区影院| 国产91丝袜在线播放| 制服丝袜av成人在线看| 亚洲男人天堂av网| 国产毛片精品国产一区二区三区| 欧美中文字幕久久| 国产日韩欧美精品在线| 久热成人在线视频| 欧美日韩性生活| 亚洲视频资源在线| 懂色中文一区二区在线播放| 欧美xxxx老人做受| 丝袜国产日韩另类美女| 91丨porny丨户外露出| 成人免费在线视频| 精品午夜久久福利影院| 欧美群妇大交群的观看方式| 亚洲男人的天堂一区二区| 成人久久久精品乱码一区二区三区| 欧美日韩免费观看一区三区| 亚洲美女精品一区| 99re8在线精品视频免费播放| 久久精品欧美日韩| 国产一区二区伦理| 亚洲精品在线观看网站| 日韩av中文字幕一区二区三区 | 无码av免费一区二区三区试看 | 亚洲精品美腿丝袜| 成人av动漫网站| 日本一区二区三区电影| 国产福利一区二区| 国产日韩av一区| 成人自拍视频在线观看| 欧美极品少妇xxxxⅹ高跟鞋| 成人综合婷婷国产精品久久免费| 久久久精品tv| 成人免费看黄yyy456| 中文文精品字幕一区二区| 99视频在线观看一区三区| 欧美韩日一区二区三区四区| 97精品电影院| 亚洲第一福利一区| 777奇米成人网| 久久成人免费日本黄色| 久久久午夜精品理论片中文字幕| 国产成都精品91一区二区三| 成人免费一区二区三区在线观看| 99在线精品一区二区三区| 亚洲一区二区视频在线| 欧美一区二区免费| 国产成人免费视频一区| 亚洲啪啪综合av一区二区三区| 欧美日韩一区二区三区四区五区| 午夜不卡在线视频| 久久先锋影音av| 99久久99久久精品免费看蜜桃| 亚洲狠狠丁香婷婷综合久久久| 欧美精品v国产精品v日韩精品| 精品一区二区综合| 亚洲欧美日韩国产一区二区三区| 91精品国产色综合久久不卡蜜臀 | 不卡高清视频专区| 无码av中文一区二区三区桃花岛| 精品久久久三级丝袜| 99re成人精品视频| 免费成人av资源网| 中文字幕欧美一| 日韩欧美黄色影院| 91麻豆国产福利在线观看| 喷白浆一区二区| 亚洲视频免费看| 国产精品第13页| 91精品久久久久久久91蜜桃| 夫妻av一区二区| 奇米色一区二区三区四区| 国产精品理论在线观看| 欧美久久久久久久久| 成人福利在线看| 久久狠狠亚洲综合| 亚洲综合清纯丝袜自拍| 欧美国产国产综合| 日韩一区二区中文字幕| 91免费观看在线| 成人深夜在线观看| 美女视频第一区二区三区免费观看网站| 国产精品久久久久久久午夜片| 精品久久久久久久人人人人传媒| 91极品美女在线| 不卡一区在线观看| 国产精品一区二区在线观看不卡 | 成人黄色免费短视频| 久久99这里只有精品| 午夜精品福利一区二区蜜股av | 日韩一级欧美一级| 欧美影院午夜播放| 色综合久久中文综合久久97| 国产成人av在线影院| 激情综合亚洲精品| 久久国产精品99精品国产| 亚洲www啪成人一区二区麻豆| 一区二区三区影院| 亚洲精品午夜久久久| 亚洲乱码国产乱码精品精98午夜| 欧美高清在线精品一区| 国产精品人人做人人爽人人添| 久久先锋资源网| 欧美国产日韩a欧美在线观看 | 99国产欧美久久久精品| 国产成人在线影院| 国产成人日日夜夜| 成人综合在线视频| www.久久久久久久久| 99国产精品99久久久久久| 色域天天综合网| 欧美在线看片a免费观看| 欧美午夜精品理论片a级按摩| 精品视频1区2区| 制服丝袜一区二区三区| 日韩欧美国产电影| 久久精品亚洲国产奇米99 | 成人av在线网| 91在线小视频| 欧美日韩中字一区| 欧美videos中文字幕| 久久综合色婷婷| 国产精品美女久久久久久久| 一区二区三区在线视频免费观看| 亚洲电影在线播放| 老司机精品视频导航| 国产成人精品三级| 日本精品一级二级| 日韩欧美一二三| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 成人黄色大片在线观看| 99精品偷自拍| 日韩欧美专区在线| 最新久久zyz资源站| 午夜视频在线观看一区二区 | 欧美日韩成人在线| 欧美xxxx老人做受| 亚洲天堂2014| 久久成人精品无人区| 99亚偷拍自图区亚洲| 欧美一级生活片| 亚洲天堂网中文字| 男女性色大片免费观看一区二区| 成人影视亚洲图片在线| 欧美视频一区二区在线观看| 久久综合九色综合久久久精品综合| 国产精品美女久久久久高潮| 三级一区在线视频先锋 | 亚洲男同性恋视频| 国产一区二区伦理| 91精品国产美女浴室洗澡无遮挡| 国产精品麻豆欧美日韩ww| 免费在线观看成人|