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

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

?? stl_hash_map.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_MAP_H
#define __SGI_STL_INTERNAL_HASH_MAP_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_map      __WORKAROUND_RENAME(hash_map)
# define  hash_multimap __WORKAROUND_RENAME(hash_multimap)
template <class _Key, class _Tp, __DFL_TMPL_PARAM(_HashFcn,hash<_Key>),
          __DFL_TMPL_PARAM(_EqualKey,equal_to<_Key>),
          __STL_DEFAULT_PAIR_ALLOCATOR_SELECT(const _Key, _Tp) >
class hash_map
{
private:
# ifdef __STL_MULTI_CONST_TEMPLATE_ARG_BUG
  typedef hashtable<pair<const _Key, _Tp>, _Key, _HashFcn,

      __Select1st_hint<pair<const _Key, _Tp>, _Key >, _EqualKey, _Alloc> _Ht;
# else
  typedef hashtable<pair<const _Key,_Tp>,_Key,_HashFcn,
                    _Select1st<pair<const _Key,_Tp> >,_EqualKey,_Alloc> _Ht;
# endif
  typedef hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc> _Self;
public:
  typedef typename _Ht::key_type key_type;
  typedef _Tp data_type;
  typedef _Tp mapped_type;
  typedef typename _Ht::value_type _value_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::pointer pointer;
  typedef typename _Ht::const_pointer const_pointer;
  typedef typename _Ht::reference reference;
  typedef typename _Ht::const_reference const_reference;

  typedef typename _Ht::iterator iterator;
  typedef typename _Ht::const_iterator const_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_map() : _M_ht(100, hasher(), key_equal(), allocator_type()) {}
  explicit hash_map(size_type __n)
    : _M_ht(__n, hasher(), key_equal(), allocator_type()) {}
  hash_map(size_type __n, const hasher& __hf)
    : _M_ht(__n, __hf, key_equal(), allocator_type()) {}
  hash_map(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_map(_InputIterator __f, _InputIterator __l)
    : _M_ht(100, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  template <class _InputIterator>
  hash_map(_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_map(_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_map(_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_map(const value_type* __f, const value_type* __l)
    : _M_ht(100, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  hash_map(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_map(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_map(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_map(const_iterator __f, const_iterator __l)
    : _M_ht(100, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  hash_map(const_iterator __f, const_iterator __l, size_type __n)
    : _M_ht(__n, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_unique(__f, __l); }
  hash_map(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_map(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() { return _M_ht.begin(); }
  iterator end() { return _M_ht.end(); }
  const_iterator begin() const { return _M_ht.begin(); }
  const_iterator end() const { return _M_ht.end(); }

public:
  pair<iterator,bool> insert(const value_type& __obj)
    { return _M_ht.insert_unique(__obj); }
#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)
    { return _M_ht.insert_unique_noresize(__obj); }    

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

  _Tp& operator[](const key_type& __key) {
    return _M_ht.find_or_insert(_value_type(__key, _Tp())).second;
  }

  size_type count(const key_type& __key) const { return _M_ht.count(__key); }
  
  pair<iterator, iterator> equal_range(const key_type& __key)
    { return _M_ht.equal_range(__key); }
  pair<const_iterator, const_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(); }

  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 _Key, class _Tp, class _HashFcn, class _EqlKey, class _Alloc>
inline bool 
operator==(const hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm1,
           const hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm2)
{
  return hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>::_M_equal(__hm1, __hm2);
}
#ifdef __STL_USE_SEPARATE_RELOPS_NAMESPACE

template <class _Key, class _Tp, class _HashFcn, class _EqlKey, class _Alloc>
inline bool 
operator!=(const hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm1,
           const hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm2) {
  return !(__hm1 == __hm2);
}

template <class _Key, class _Tp, class _HashFcn, class _EqlKey, class _Alloc>
inline void 
swap(hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm1,
     hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm2)
{
  __hm1.swap(__hm2);
}

#endif /* __STL_FUNCTION_TMPL_PARTIAL_ORDER */

template <class _Key, class _Tp, __DFL_TMPL_PARAM(_HashFcn,hash<_Key>),
          __DFL_TMPL_PARAM(_EqualKey,equal_to<_Key>),
          __STL_DEFAULT_PAIR_ALLOCATOR_SELECT(const _Key, _Tp) >
class hash_multimap
{
private:
# ifdef __STL_MULTI_CONST_TEMPLATE_ARG_BUG
  typedef hashtable<pair<const _Key, _Tp>, _Key, _HashFcn,
      __select1st_hint<pair<const _Key, _Tp>, _Key >, _EqualKey, _Alloc> _Ht;
# else
  typedef hashtable<pair<const _Key, _Tp>, _Key, _HashFcn,
      select1st<pair<const _Key, _Tp> >, _EqualKey, _Alloc> _Ht;
# endif
  typedef hash_multimap<_Key, _Tp, _HashFcn, _EqualKey, _Alloc> _Self;
public:
  typedef typename _Ht::key_type key_type;
  typedef _Tp data_type;
  typedef _Tp mapped_type;
  typedef typename _Ht::value_type _value_type;
  typedef _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::pointer pointer;
  typedef typename _Ht::const_pointer const_pointer;
  typedef typename _Ht::reference reference;
  typedef typename _Ht::const_reference const_reference;

  typedef typename _Ht::iterator iterator;
  typedef typename _Ht::const_iterator const_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_multimap() : _M_ht(100, hasher(), key_equal(), allocator_type()) {}
  explicit hash_multimap(size_type __n)
    : _M_ht(__n, hasher(), key_equal(), allocator_type()) {}
  hash_multimap(size_type __n, const hasher& __hf)
    : _M_ht(__n, __hf, key_equal(), allocator_type()) {}
  hash_multimap(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_multimap(_InputIterator __f, _InputIterator __l)
    : _M_ht(100, hasher(), key_equal(), allocator_type())
    { _M_ht.insert_equal(__f, __l); }
  template <class _InputIterator>
  hash_multimap(_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_multimap(_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_multimap(_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
  hash_multimap(const value_type* __f, const value_type* __l)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区中文字幕| 波多野结衣精品在线| 正在播放亚洲一区| 麻豆精品一区二区三区| 日韩免费福利电影在线观看| 久久99热国产| 国产三级精品在线| 91麻豆免费看片| 亚洲福利视频一区| 日韩欧美一级二级三级久久久| 麻豆成人在线观看| 日本一区二区三区四区在线视频| 波多野结衣一区二区三区| 成人欧美一区二区三区| 欧美日韩免费不卡视频一区二区三区 | 中文字幕av一区二区三区高 | 国产一区二区三区视频在线播放| 久久只精品国产| av电影天堂一区二区在线| 亚洲同性同志一二三专区| 欧美三级电影网站| 国产一区视频导航| 一区二区欧美国产| 精品少妇一区二区三区视频免付费 | 日韩三级视频在线看| 狠狠色丁香久久婷婷综合_中| 日韩一区二区三区免费观看| 国产精品亚洲午夜一区二区三区| **性色生活片久久毛片| 宅男在线国产精品| 国产黄色精品网站| 亚洲第一电影网| 国产精品婷婷午夜在线观看| 欧美男女性生活在线直播观看| 精品一区二区三区免费| 亚洲影院理伦片| 国产午夜三级一区二区三| 欧美性高清videossexo| 国产精品影视天天线| 日产国产欧美视频一区精品| 中文字幕av资源一区| 日韩欧美国产综合| 在线国产电影不卡| 成人av网站免费| 韩国成人在线视频| 天天操天天干天天综合网| 中文欧美字幕免费| 精品少妇一区二区三区免费观看 | 制服丝袜在线91| 色婷婷国产精品| 国产成人精品一区二区三区网站观看| 亚洲二区视频在线| 成人免费在线视频| 国产精品视频一区二区三区不卡| 日韩一区二区三区免费看| 欧美午夜精品一区二区蜜桃| 懂色av噜噜一区二区三区av| 久久99精品久久只有精品| 午夜欧美在线一二页| 亚洲精品国产一区二区精华液 | 日韩一区二区三区视频| 欧美日韩你懂得| 欧美丝袜丝交足nylons| 91色综合久久久久婷婷| 99久久免费国产| 成人永久免费视频| 成人精品免费视频| 粉嫩aⅴ一区二区三区四区五区| 久久不见久久见免费视频1| 美国十次综合导航| 久久99精品久久久久婷婷| 精品一区二区日韩| 国产一区视频导航| 国产精品亚洲午夜一区二区三区| 国产在线日韩欧美| 国产乱码精品一区二区三区忘忧草 | 日韩欧美国产不卡| 欧美电影一区二区| 欧美一区二区三区小说| 宅男噜噜噜66一区二区66| 欧美日本一道本在线视频| 欧美区视频在线观看| 欧美狂野另类xxxxoooo| 7777精品久久久大香线蕉| 91精品婷婷国产综合久久竹菊| 欧美一区二区美女| 精品电影一区二区三区| 久久精品视频网| 国产精品另类一区| 亚洲激情网站免费观看| 亚洲.国产.中文慕字在线| 日韩国产欧美在线视频| 黄网站免费久久| 99久久精品免费看| 欧美日韩中文一区| 日韩欧美激情在线| 久久久国产一区二区三区四区小说 | 国产精品女同一区二区三区| 国产精品久久久久久久久搜平片| 国产精品久久久久天堂| 亚洲欧美偷拍卡通变态| 亚洲超碰97人人做人人爱| 日韩国产欧美在线视频| 国产福利精品一区| 色综合久久久网| 欧美一区二区三区影视| 国产午夜亚洲精品午夜鲁丝片| 1024成人网| 日韩电影免费在线| 成人丝袜18视频在线观看| 欧美色网一区二区| 精品国产网站在线观看| 亚洲欧洲成人自拍| 日韩vs国产vs欧美| 成人国产精品免费观看视频| 欧美日韩一区二区三区在线| 国产午夜精品一区二区| 亚洲电影视频在线| 国产乱一区二区| 欧美精品久久99| 亚洲视频免费观看| 蜜臀av一区二区在线免费观看 | 91免费小视频| 日韩精品资源二区在线| 亚洲视频在线观看一区| 精品在线亚洲视频| 欧美性生活久久| 国产精品久久久久影院亚瑟| 日韩成人免费在线| 色综合久久88色综合天天免费| 欧美电影免费观看高清完整版| 中文字幕第一区综合| 免费观看91视频大全| 色综合久久99| 中文字幕乱码久久午夜不卡| 视频一区在线播放| 色综合久久88色综合天天 | 成人午夜大片免费观看| 欧美一区二区三区系列电影| 一区二区三区在线视频观看58| 国产高清视频一区| 日韩一区二区精品在线观看| 亚洲精品日韩一| 成人精品国产一区二区4080| 26uuu另类欧美亚洲曰本| 午夜精品久久久久影视| 91免费看片在线观看| 欧美韩国一区二区| 国产综合色视频| 日韩女优电影在线观看| 午夜欧美2019年伦理| 欧美视频精品在线观看| 伊人婷婷欧美激情| 99r国产精品| 亚洲欧洲精品一区二区三区不卡| 狠狠色2019综合网| 欧美成人激情免费网| 日本在线播放一区二区三区| 欧美三级电影在线观看| 亚洲乱码中文字幕综合| 99久久精品费精品国产一区二区| 中文字幕第一页久久| 成人午夜av电影| 国产精品色婷婷| 成人蜜臀av电影| 中文字幕不卡三区| kk眼镜猥琐国模调教系列一区二区| 久久亚洲综合色| 国产一区二区精品久久| 国产三级精品三级在线专区| 国产91精品免费| 中文字幕欧美一| 欧美在线视频全部完| 狠狠色狠狠色综合系列| 久久久久久久网| 风间由美性色一区二区三区| 亚洲国产精品成人综合| 91视频一区二区| 亚洲一区在线观看免费观看电影高清| 在线观看不卡一区| 日韩精品91亚洲二区在线观看 | 国产精品影视在线观看| 亚洲欧洲日韩在线| 91麻豆福利精品推荐| 亚洲第一激情av| 日韩视频不卡中文| 国产一区二区精品久久99| 亚洲国产精品成人综合| 在线观看视频一区二区| 午夜伊人狠狠久久| 亚洲精品在线免费播放| 成人高清在线视频| 亚洲成人av免费| 欧美精品一区二区久久婷婷| 东方aⅴ免费观看久久av| 亚洲免费观看在线视频| 91精品国产91综合久久蜜臀| 国产精品中文字幕欧美| 亚洲综合丝袜美腿| 日韩欧美综合在线|