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

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

?? stl_hash_map.h

?? TSP問題的一個類庫 有源代碼和stl
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*
 * Copyright (c) 1996
 * Silicon Graphics Computer Systems, Inc.
 *
 * Permission to use, copy, modify, distribute and sell this software
 * and its documentation for any purpose is hereby granted without fee,
 * provided that the above copyright notice appear in all copies and
 * that both that copyright notice and this permission notice appear
 * in supporting documentation.  Silicon Graphics makes no
 * representations about the suitability of this software for any
 * purpose.  It is provided "as is" without express or implied warranty.
 *
 *
 * Copyright (c) 1994
 * Hewlett-Packard Company
 *
 * Permission to use, copy, modify, distribute and sell this software
 * and its documentation for any purpose is hereby granted without fee,
 * provided that the above copyright notice appear in all copies and
 * that both that copyright notice and this permission notice appear
 * in supporting documentation.  Hewlett-Packard Company makes no
 * representations about the suitability of this software for any
 * purpose.  It is provided "as is" without express or implied warranty.
 *
 */

/* 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

// Forward declaration of equality operator; needed for friend declaration.

template <class _Key, class _Tp,
          class _HashFcn  __STL_DEPENDENT_DEFAULT_TMPL(hash<_Key>),
          class _EqualKey __STL_DEPENDENT_DEFAULT_TMPL(equal_to<_Key>),
          class _Alloc =  __STL_DEFAULT_ALLOCATOR(_Tp) >
class hash_map;

template <class _Key, class _Tp, class _HashFn, class _EqKey, class _Alloc>
inline bool operator==(const hash_map<_Key, _Tp, _HashFn, _EqKey, _Alloc>&,
                       const hash_map<_Key, _Tp, _HashFn, _EqKey, _Alloc>&);

template <class _Key, class _Tp, class _HashFcn, class _EqualKey,
          class _Alloc>
class hash_map
{
private:
  typedef hashtable<pair<const _Key,_Tp>,_Key,_HashFcn,
                    _Select1st<pair<const _Key,_Tp> >,_EqualKey,_Alloc> _Ht;
  _Ht _M_ht;

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::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(); }

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 = 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 = 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 = 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 = 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(hash_map& __hs) { _M_ht.swap(__hs._M_ht); }

#ifdef __STL_MEMBER_TEMPLATES
  template <class _K1, class _T1, class _HF, class _EqK, class _Al>
  friend bool operator== (const hash_map<_K1, _T1, _HF, _EqK, _Al>&,
                          const hash_map<_K1, _T1, _HF, _EqK, _Al>&);
#else /* __STL_MEMBER_TEMPLATES */
  friend bool __STD_QUALIFIER
  operator== __STL_NULL_TMPL_ARGS (const hash_map&, const hash_map&);
#endif /* __STL_MEMBER_TEMPLATES */


  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); }
};

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._M_ht == __hm2._M_ht;
}

#ifdef __STL_FUNCTION_TMPL_PARTIAL_ORDER

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 */

// Forward declaration of equality operator; needed for friend declaration.

template <class _Key, class _Tp,
          class _HashFcn  __STL_DEPENDENT_DEFAULT_TMPL(hash<_Key>),
          class _EqualKey __STL_DEPENDENT_DEFAULT_TMPL(equal_to<_Key>),
          class _Alloc =  __STL_DEFAULT_ALLOCATOR(_Tp) >
class hash_multimap;

template <class _Key, class _Tp, class _HF, class _EqKey, class _Alloc>
inline bool 
operator==(const hash_multimap<_Key,_Tp,_HF,_EqKey,_Alloc>& __hm1,
           const hash_multimap<_Key,_Tp,_HF,_EqKey,_Alloc>& __hm2);

template <class _Key, class _Tp, class _HashFcn, class _EqualKey, 
          class _Alloc>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色偷偷久久一区二区三区| 日韩女优视频免费观看| 欧美日韩精品一区二区| 2023国产精品| 亚洲国产wwwccc36天堂| 成人黄色一级视频| 日韩片之四级片| 亚洲国产日韩综合久久精品| 欧美性猛片xxxx免费看久爱| 久久精品免费在线观看| 青草国产精品久久久久久| 99在线精品观看| 国产亚洲一本大道中文在线| 日韩精品乱码av一区二区| 91在线视频观看| 国产欧美精品区一区二区三区| 日本在线不卡一区| 欧美视频一区二区在线观看| 亚洲欧洲三级电影| 成人性生交大片免费看在线播放 | 国产一区二区三区久久悠悠色av| 欧美综合视频在线观看| 国产精品国产自产拍高清av | 午夜一区二区三区视频| 91亚洲国产成人精品一区二区三| 久久精品亚洲国产奇米99| 奇米精品一区二区三区在线观看| 欧美日韩午夜精品| 亚洲国产成人av好男人在线观看| 在线观看成人免费视频| 亚洲欧美日韩一区| 色老头久久综合| 亚洲成人资源在线| 欧美蜜桃一区二区三区| 水蜜桃久久夜色精品一区的特点 | 91丨九色丨黑人外教| 国产人妖乱国产精品人妖| 国产乱码精品一品二品| 国产欧美一区二区精品秋霞影院| 国产精品综合一区二区三区| 久久色.com| 粉嫩蜜臀av国产精品网站| 国产午夜精品久久| 成人免费毛片高清视频| 亚洲丝袜制服诱惑| 在线视频观看一区| 日韩激情视频在线观看| 日韩免费在线观看| 国产盗摄精品一区二区三区在线 | 国产成人午夜精品5599| 中文字幕免费在线观看视频一区| 不卡的av在线| 亚洲六月丁香色婷婷综合久久 | 日韩免费一区二区三区在线播放| 黄色小说综合网站| 国产精品卡一卡二卡三| 欧美网站一区二区| 久久精品国产精品亚洲综合| 国产欧美综合在线| 在线观看视频一区二区| 麻豆精品在线观看| 国产精品视频一二三区| 欧洲精品一区二区| 狂野欧美性猛交blacked| 中文字幕第一区综合| 欧美三级中文字幕| 国产999精品久久久久久绿帽| 一区二区三区日韩欧美| 日韩亚洲欧美高清| 成人小视频在线观看| 亚洲一区二区综合| 久久综合久色欧美综合狠狠| 91色视频在线| 韩国av一区二区三区四区| 一区二区三区中文字幕电影| 精品欧美久久久| 色哟哟在线观看一区二区三区| 亚洲va中文字幕| 欧美国产一区在线| 91精品国产综合久久福利软件| 成人免费视频一区二区| 久久激情五月婷婷| 亚洲美女视频在线观看| 久久精品一区二区三区不卡 | 欧美成人国产一区二区| 成人国产精品免费| 青青草国产精品97视觉盛宴| 亚洲免费在线观看视频| 国产偷v国产偷v亚洲高清| 欧美一区二区三区喷汁尤物| 日本韩国一区二区三区视频| 国产成人精品一区二区三区网站观看| 午夜不卡av免费| 亚洲一区免费视频| 亚洲欧洲另类国产综合| 国产亚洲精品中文字幕| 日韩精品中文字幕一区| 欧美日韩国产电影| 欧美视频精品在线观看| 一本在线高清不卡dvd| 成人av小说网| 国产成人免费视频| 韩日av一区二区| 久99久精品视频免费观看| 偷拍一区二区三区四区| 一区二区三区中文字幕| 亚洲猫色日本管| 自拍偷拍国产精品| 中文字幕人成不卡一区| 国产精品美女久久久久久久久久久 | 久久午夜羞羞影院免费观看| 欧美性三三影院| 精品视频1区2区| 99久久99久久精品免费看蜜桃| 国产精品一区二区在线播放| 国产麻豆精品95视频| 国产伦精品一区二区三区视频青涩 | 精品国产乱码久久久久久1区2区| 在线观看日韩电影| 欧美午夜电影网| 欧美电影一区二区三区| 91精品啪在线观看国产60岁| 欧美一区二区三区婷婷月色| 日韩欧美自拍偷拍| 久久久亚洲高清| 久久精品视频在线看| 中文一区二区在线观看| 18成人在线观看| 亚洲一区二区三区激情| 日韩国产高清影视| 精品亚洲国产成人av制服丝袜| 国产精品自产自拍| 99久久er热在这里只有精品15| 色哦色哦哦色天天综合| 欧美日韩一区不卡| 日韩三级视频中文字幕| 国产精品久久毛片av大全日韩| 亚洲美女偷拍久久| 日本网站在线观看一区二区三区 | 欧美一级xxx| 国产午夜精品理论片a级大结局| 亚洲欧洲国产日本综合| 亚洲成人动漫在线观看| 国产综合久久久久久鬼色 | 偷偷要91色婷婷| 狠狠狠色丁香婷婷综合久久五月| 成人性生交大片| 欧美色手机在线观看| 欧美成人精品二区三区99精品| 国产精品每日更新在线播放网址| 亚洲最大成人网4388xx| 久久99九九99精品| 91片黄在线观看| 欧美一二区视频| 最好看的中文字幕久久| 青青草91视频| 91在线视频播放地址| 日韩一区和二区| 国产精品久久久一区麻豆最新章节| 亚洲123区在线观看| 成人美女在线观看| 日韩欧美国产一区二区三区| 国产精品国产三级国产| 九一久久久久久| 欧美亚洲高清一区二区三区不卡| 久久久久国产精品人| 视频一区在线视频| jlzzjlzz欧美大全| 久久日一线二线三线suv| 亚洲成av人片| 色综合久久久久| 中文字幕免费一区| 精品午夜一区二区三区在线观看| 日本伦理一区二区| 欧美国产亚洲另类动漫| 蜜桃久久久久久久| 欧美日韩免费观看一区三区| 国产精品女人毛片| 激情小说亚洲一区| 欧美一区二区在线观看| 亚洲综合丝袜美腿| 99久久精品免费| 中文字幕精品一区二区精品绿巨人| 麻豆成人久久精品二区三区红| 色婷婷av久久久久久久| 中文字幕在线观看不卡视频| 国产馆精品极品| 精品国产一区二区三区久久久蜜月 | 日韩精品五月天| 成人免费视频caoporn| 久久精品夜色噜噜亚洲aⅴ| 日韩国产高清在线| 91精品国产色综合久久ai换脸| 亚洲综合免费观看高清完整版在线 | 精品国产99国产精品| 亚洲午夜精品网| 欧美这里有精品| 亚洲图片自拍偷拍| 欧美人体做爰大胆视频| 五月开心婷婷久久|