亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
久久精品国产精品亚洲综合| 国产精品进线69影院| 亚洲h动漫在线| 欧美精选在线播放| 日韩高清不卡一区| 26uuu亚洲| 国产.欧美.日韩| 亚洲色图一区二区三区| 欧美日韩中文精品| 男男视频亚洲欧美| 久久久久久久电影| 91蝌蚪porny| 午夜久久久影院| 欧美成人r级一区二区三区| 正在播放亚洲一区| 久久99国产精品免费| 欧美国产一区二区在线观看| 色婷婷久久一区二区三区麻豆| 亚洲国产日韩精品| 久久夜色精品一区| 在线精品亚洲一区二区不卡| 亚州成人在线电影| 久久蜜臀精品av| 91福利国产成人精品照片| 日韩精品一区第一页| 国产午夜精品一区二区三区视频| 91在线观看视频| 奇米影视7777精品一区二区| 国产精品久久久久影院色老大| 欧美日韩视频在线第一区| 韩国精品一区二区| 亚洲一区二区三区四区在线| 精品少妇一区二区三区| 色婷婷久久久久swag精品| 狠狠色丁香久久婷婷综合_中 | 亚洲欧美一区二区三区孕妇| 4hu四虎永久在线影院成人| 国产福利91精品一区二区三区| 亚洲一二三区在线观看| 久久久久久久久久久黄色| 欧美亚洲免费在线一区| 国产成人精品三级| 日韩精品一区第一页| 亚洲视频1区2区| 国产色一区二区| 欧美一级日韩不卡播放免费| 久久先锋资源网| 欧美福利电影网| 一本到一区二区三区| 国产福利一区二区三区在线视频| 日本va欧美va瓶| 一区二区高清在线| 中文字幕字幕中文在线中不卡视频| 精品国产免费一区二区三区香蕉| 色琪琪一区二区三区亚洲区| 成人成人成人在线视频| 国产成人午夜电影网| 美国av一区二区| 天天色综合天天| 一级特黄大欧美久久久| 1区2区3区精品视频| 久久日一线二线三线suv| 欧美一级夜夜爽| 91麻豆精品国产91久久久久| 在线观看日产精品| 99精品视频在线播放观看| 成人免费观看视频| 国产精品88av| 国产精品123| 国产一区二区在线免费观看| 蜜桃在线一区二区三区| 人人狠狠综合久久亚洲| 亚洲成a人片在线不卡一二三区| 一区二区三区四区中文字幕| 一区二区欧美精品| 亚洲综合清纯丝袜自拍| 亚洲欧美电影一区二区| 亚洲伦在线观看| 亚洲综合色自拍一区| 亚洲国产日韩a在线播放性色| 亚洲一卡二卡三卡四卡无卡久久| 亚洲国产一区二区视频| 婷婷中文字幕一区三区| 蜜臂av日日欢夜夜爽一区| 免费在线观看成人| 国产一区亚洲一区| 国产99久久久久| 91亚洲国产成人精品一区二三 | 51精品秘密在线观看| 91精品国产综合久久婷婷香蕉| 欧美精品777| 欧美r级电影在线观看| 国产亚洲一二三区| 136国产福利精品导航| 亚洲综合色成人| 美女视频网站久久| 国产乱码一区二区三区| 国产98色在线|日韩| 色综合色狠狠综合色| 69堂精品视频| 久久综合狠狠综合久久综合88| 国产精品丝袜一区| 亚洲国产三级在线| 美女久久久精品| 成人免费视频视频| 欧美日韩日日骚| 久久亚洲一区二区三区明星换脸| 中文无字幕一区二区三区| 一区二区三区日韩在线观看| 免费在线观看成人| 成人av网站在线观看免费| 欧美老女人在线| 九色综合国产一区二区三区| 国产精品911| 欧美欧美欧美欧美| 国产亚洲精品中文字幕| 亚洲综合免费观看高清在线观看| 激情综合色播五月| 91片在线免费观看| 欧美r级电影在线观看| 亚洲欧洲综合另类在线| 久久精品国产秦先生| 91国内精品野花午夜精品| 久久久无码精品亚洲日韩按摩| 亚洲一区二区三区视频在线播放 | 日韩精品中文字幕在线一区| 国产精品视频观看| 美日韩黄色大片| 在线视频国内一区二区| 久久免费看少妇高潮| 亚洲一区二区三区视频在线| 福利一区二区在线观看| 91精品综合久久久久久| 亚洲精品国产第一综合99久久| 韩国三级电影一区二区| 欧美高清视频一二三区| 亚洲欧美日韩国产手机在线| 国产一区91精品张津瑜| 在线播放视频一区| 亚洲精品ww久久久久久p站 | 91九色最新地址| 久久久高清一区二区三区| 日本va欧美va精品| 日本道在线观看一区二区| 中文久久乱码一区二区| 久久97超碰色| 欧美一级黄色片| 天堂久久久久va久久久久| 91在线视频网址| 中文字幕欧美国产| 国产美女视频91| 精品免费视频.| 美女网站一区二区| 91精品在线一区二区| 亚洲高清免费在线| 欧美体内she精高潮| 亚洲一区二区三区美女| 色综合视频在线观看| 国产精品成人网| 99re66热这里只有精品3直播| 国产精品美日韩| 成人小视频免费在线观看| 国产片一区二区| 成人综合婷婷国产精品久久免费| 亚洲精品一区二区三区福利| 国产自产v一区二区三区c| 精品免费日韩av| 国产剧情在线观看一区二区| 久久久91精品国产一区二区精品| 国模大尺度一区二区三区| 国产喂奶挤奶一区二区三区| 国产福利91精品一区| 久久精品视频在线免费观看| 国产成人精品在线看| 中文字幕综合网| 欧美亚一区二区| 日韩高清不卡一区二区| 欧美大片顶级少妇| 国产suv一区二区三区88区| 国产精品免费看片| 色偷偷成人一区二区三区91| 亚洲国产精品久久不卡毛片 | 久久在线观看免费| 成人黄色在线视频| 亚洲一区二区三区四区的| 91麻豆精品国产91久久久| 在线综合+亚洲+欧美中文字幕| 日韩中文字幕亚洲一区二区va在线| 欧美一区午夜精品| 国产成人免费在线| 亚洲精品国产第一综合99久久| 欧美日本不卡视频| 韩国精品免费视频| 亚洲人成网站影音先锋播放| 欧美美女视频在线观看| 激情综合网av| 亚洲精品videosex极品| 欧美一二三区在线观看| 成人高清视频在线| 日韩和的一区二区|