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

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

?? stl_multiset.h

?? TSP問題的一個類庫 有源代碼和stl
?? H
字號:
/*
 *
 * 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.
 *
 *
 * 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.
 */

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

#ifndef __SGI_STL_INTERNAL_MULTISET_H
#define __SGI_STL_INTERNAL_MULTISET_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 operators < and ==, needed for friend declaration.

template <class _Key, class _Compare __STL_DEPENDENT_DEFAULT_TMPL(less<_Key>),
          class _Alloc = __STL_DEFAULT_ALLOCATOR(_Key) >
class multiset;

template <class _Key, class _Compare, class _Alloc>
inline bool operator==(const multiset<_Key,_Compare,_Alloc>& __x, 
                       const multiset<_Key,_Compare,_Alloc>& __y);

template <class _Key, class _Compare, class _Alloc>
inline bool operator<(const multiset<_Key,_Compare,_Alloc>& __x, 
                      const multiset<_Key,_Compare,_Alloc>& __y);

template <class _Key, class _Compare, class _Alloc>
class multiset {
public:
  // typedefs:

  typedef _Key     key_type;
  typedef _Key     value_type;
  typedef _Compare key_compare;
  typedef _Compare value_compare;
private:
  typedef _Rb_tree<key_type, value_type, 
                  _Identity<value_type>, key_compare, _Alloc> _Rep_type;
  _Rep_type _M_t;  // red-black tree representing multiset
public:
  typedef typename _Rep_type::const_pointer pointer;
  typedef typename _Rep_type::const_pointer const_pointer;
  typedef typename _Rep_type::const_reference reference;
  typedef typename _Rep_type::const_reference const_reference;
  typedef typename _Rep_type::const_iterator iterator;
  typedef typename _Rep_type::const_iterator const_iterator;
  typedef typename _Rep_type::const_reverse_iterator reverse_iterator;
  typedef typename _Rep_type::const_reverse_iterator const_reverse_iterator;
  typedef typename _Rep_type::size_type size_type;
  typedef typename _Rep_type::difference_type difference_type;
  typedef typename _Rep_type::allocator_type allocator_type;

  // allocation/deallocation

  multiset() : _M_t(_Compare(), allocator_type()) {}
  explicit multiset(const _Compare& __comp,
                    const allocator_type& __a = allocator_type())
    : _M_t(__comp, __a) {}

#ifdef __STL_MEMBER_TEMPLATES

  template <class _InputIterator>
  multiset(_InputIterator __first, _InputIterator __last)
    : _M_t(_Compare(), allocator_type())
    { _M_t.insert_equal(__first, __last); }

  template <class _InputIterator>
  multiset(_InputIterator __first, _InputIterator __last,
           const _Compare& __comp,
           const allocator_type& __a = allocator_type())
    : _M_t(__comp, __a) { _M_t.insert_equal(__first, __last); }

#else

  multiset(const value_type* __first, const value_type* __last)
    : _M_t(_Compare(), allocator_type())
    { _M_t.insert_equal(__first, __last); }

  multiset(const value_type* __first, const value_type* __last,
           const _Compare& __comp,
           const allocator_type& __a = allocator_type())
    : _M_t(__comp, __a) { _M_t.insert_equal(__first, __last); }

  multiset(const_iterator __first, const_iterator __last)
    : _M_t(_Compare(), allocator_type())
    { _M_t.insert_equal(__first, __last); }

  multiset(const_iterator __first, const_iterator __last,
           const _Compare& __comp,
           const allocator_type& __a = allocator_type())
    : _M_t(__comp, __a) { _M_t.insert_equal(__first, __last); }
   
#endif /* __STL_MEMBER_TEMPLATES */

  multiset(const multiset<_Key,_Compare,_Alloc>& __x) : _M_t(__x._M_t) {}
  multiset<_Key,_Compare,_Alloc>&
  operator=(const multiset<_Key,_Compare,_Alloc>& __x) {
    _M_t = __x._M_t; 
    return *this;
  }

  // accessors:

  key_compare key_comp() const { return _M_t.key_comp(); }
  value_compare value_comp() const { return _M_t.key_comp(); }
  allocator_type get_allocator() const { return _M_t.get_allocator(); }

  iterator begin() const { return _M_t.begin(); }
  iterator end() const { return _M_t.end(); }
  reverse_iterator rbegin() const { return _M_t.rbegin(); } 
  reverse_iterator rend() const { return _M_t.rend(); }
  bool empty() const { return _M_t.empty(); }
  size_type size() const { return _M_t.size(); }
  size_type max_size() const { return _M_t.max_size(); }
  void swap(multiset<_Key,_Compare,_Alloc>& __x) { _M_t.swap(__x._M_t); }

  // insert/erase
  iterator insert(const value_type& __x) { 
    return _M_t.insert_equal(__x);
  }
  iterator insert(iterator __position, const value_type& __x) {
    typedef typename _Rep_type::iterator _Rep_iterator;
    return _M_t.insert_equal((_Rep_iterator&)__position, __x);
  }

#ifdef __STL_MEMBER_TEMPLATES  
  template <class _InputIterator>
  void insert(_InputIterator __first, _InputIterator __last) {
    _M_t.insert_equal(__first, __last);
  }
#else
  void insert(const value_type* __first, const value_type* __last) {
    _M_t.insert_equal(__first, __last);
  }
  void insert(const_iterator __first, const_iterator __last) {
    _M_t.insert_equal(__first, __last);
  }
#endif /* __STL_MEMBER_TEMPLATES */
  void erase(iterator __position) { 
    typedef typename _Rep_type::iterator _Rep_iterator;
    _M_t.erase((_Rep_iterator&)__position); 
  }
  size_type erase(const key_type& __x) { 
    return _M_t.erase(__x); 
  }
  void erase(iterator __first, iterator __last) { 
    typedef typename _Rep_type::iterator _Rep_iterator;
    _M_t.erase((_Rep_iterator&)__first, (_Rep_iterator&)__last); 
  }
  void clear() { _M_t.clear(); }

  // multiset operations:

  iterator find(const key_type& __x) const { return _M_t.find(__x); }
  size_type count(const key_type& __x) const { return _M_t.count(__x); }
  iterator lower_bound(const key_type& __x) const {
    return _M_t.lower_bound(__x);
  }
  iterator upper_bound(const key_type& __x) const {
    return _M_t.upper_bound(__x); 
  }
  pair<iterator,iterator> equal_range(const key_type& __x) const {
    return _M_t.equal_range(__x);
  }

#ifdef __STL_MEMBER_TEMPLATES
  template <class _K1, class _C1, class _A1>
  friend bool operator== (const multiset<_K1,_C1,_A1>&,
                          const multiset<_K1,_C1,_A1>&);
  template <class _K1, class _C1, class _A1>
  friend bool operator< (const multiset<_K1,_C1,_A1>&,
                         const multiset<_K1,_C1,_A1>&);
#else /* __STL_MEMBER_TEMPLATES */
  friend bool __STD_QUALIFIER
  operator== __STL_NULL_TMPL_ARGS (const multiset&, const multiset&);
  friend bool __STD_QUALIFIER
  operator< __STL_NULL_TMPL_ARGS (const multiset&, const multiset&);
#endif /* __STL_MEMBER_TEMPLATES */
};

template <class _Key, class _Compare, class _Alloc>
inline bool operator==(const multiset<_Key,_Compare,_Alloc>& __x, 
                       const multiset<_Key,_Compare,_Alloc>& __y) {
  return __x._M_t == __y._M_t;
}

template <class _Key, class _Compare, class _Alloc>
inline bool operator<(const multiset<_Key,_Compare,_Alloc>& __x, 
                      const multiset<_Key,_Compare,_Alloc>& __y) {
  return __x._M_t < __y._M_t;
}

#ifdef __STL_FUNCTION_TMPL_PARTIAL_ORDER

template <class _Key, class _Compare, class _Alloc>
inline bool operator!=(const multiset<_Key,_Compare,_Alloc>& __x, 
                       const multiset<_Key,_Compare,_Alloc>& __y) {
  return !(__x == __y);
}

template <class _Key, class _Compare, class _Alloc>
inline bool operator>(const multiset<_Key,_Compare,_Alloc>& __x, 
                      const multiset<_Key,_Compare,_Alloc>& __y) {
  return __y < __x;
}

template <class _Key, class _Compare, class _Alloc>
inline bool operator<=(const multiset<_Key,_Compare,_Alloc>& __x, 
                       const multiset<_Key,_Compare,_Alloc>& __y) {
  return !(__y < __x);
}

template <class _Key, class _Compare, class _Alloc>
inline bool operator>=(const multiset<_Key,_Compare,_Alloc>& __x, 
                       const multiset<_Key,_Compare,_Alloc>& __y) {
  return !(__x < __y);
}

template <class _Key, class _Compare, class _Alloc>
inline void swap(multiset<_Key,_Compare,_Alloc>& __x, 
                 multiset<_Key,_Compare,_Alloc>& __y) {
  __x.swap(__y);
}

#endif /* __STL_FUNCTION_TMPL_PARTIAL_ORDER */

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

__STL_END_NAMESPACE

#endif /* __SGI_STL_INTERNAL_MULTISET_H */

// Local Variables:
// mode:C++
// End:

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲乱码中文字幕| 欧美大片一区二区| 成人免费一区二区三区视频 | 亚洲精品亚洲人成人网| 日本黄色一区二区| 一级特黄大欧美久久久| 欧美无人高清视频在线观看| 午夜精品一区在线观看| 日韩一区二区三区免费看| 久久精品国产免费| 久久精品一区二区三区av| 成人av动漫网站| 一区二区三区免费网站| 日韩一级黄色大片| 国产成a人亚洲精| 亚洲欧美精品午睡沙发| 欧美日韩国产小视频| 国内精品嫩模私拍在线| 国产精品久久久久久久久免费相片| 99这里都是精品| 午夜精品久久久久久久久久久 | 久久影视一区二区| 成人综合婷婷国产精品久久免费| 亚洲日本韩国一区| 欧美一区二区免费| 不卡在线观看av| 婷婷夜色潮精品综合在线| 日韩三级av在线播放| 成人激情小说网站| 亚洲成人久久影院| 国产蜜臀av在线一区二区三区| 在线观看日韩毛片| 国产精品一二三四五| 一区二区欧美精品| 国产性天天综合网| 337p亚洲精品色噜噜| 成人永久免费视频| 秋霞影院一区二区| 最近日韩中文字幕| 欧美大胆人体bbbb| 欧美亚洲综合久久| 成人av电影在线观看| 久久99蜜桃精品| 一区二区三区在线观看网站| 久久婷婷色综合| 欧美人成免费网站| 色婷婷综合在线| 豆国产96在线|亚洲| 免费成人在线影院| 一片黄亚洲嫩模| 国产精品美女久久久久久久| 精品日韩一区二区三区免费视频| 在线观看不卡视频| 99久久伊人网影院| 国产馆精品极品| 精品影视av免费| 日韩精品一级中文字幕精品视频免费观看 | 久久蜜臀中文字幕| 欧美日韩精品一区二区三区| 不卡一卡二卡三乱码免费网站| 久久国产综合精品| 三级成人在线视频| 亚洲精品免费看| 中文字幕亚洲在| 欧美激情综合在线| 久久久久国产精品麻豆ai换脸| 日韩欧美在线影院| 91精品国产一区二区三区| 在线一区二区三区| 91婷婷韩国欧美一区二区| 国产精品456| 国产精品18久久久久久久网站| 奇米一区二区三区av| 午夜激情一区二区| 午夜精品久久久久| 午夜精品久久久| 丝袜亚洲精品中文字幕一区| 亚洲成人资源在线| 丝袜美腿一区二区三区| 日本vs亚洲vs韩国一区三区| 日韩综合小视频| 久久国产视频网| 国产乱淫av一区二区三区| 国产激情视频一区二区在线观看| 国产一区激情在线| 成人一区二区三区视频在线观看| 成人免费视频一区| 99久久99久久综合| 欧美日韩一二三| 欧美另类久久久品| 欧美变态tickling挠脚心| 精品国产91洋老外米糕| 国产欧美一区二区精品性色| 国产精品成人免费在线| 亚洲精品一二三四区| 天使萌一区二区三区免费观看| 琪琪久久久久日韩精品| 国产精品一区二区不卡| av中文一区二区三区| 欧美在线色视频| 日韩欧美一二三| 中文字幕精品一区二区精品绿巨人| 日韩毛片在线免费观看| 水野朝阳av一区二区三区| 国产一区二区免费视频| 91丨九色丨蝌蚪富婆spa| 欧美日本一区二区三区| 久久久电影一区二区三区| 一区二区视频在线| 美日韩黄色大片| 99精品视频在线免费观看| 欧美精品日韩精品| 国产亚洲欧美一区在线观看| 亚洲在线视频一区| 国产老妇另类xxxxx| 在线视频亚洲一区| 精品动漫一区二区三区在线观看| 亚洲精品五月天| 麻豆国产欧美日韩综合精品二区| 成人免费视频播放| 欧美精品久久久久久久久老牛影院| 久久精品日产第一区二区三区高清版 | 久久综合九色欧美综合狠狠| 亚洲人成网站色在线观看| 麻豆精品精品国产自在97香蕉| 91免费视频网| 精品美女在线观看| 一级日本不卡的影视| 国产成人免费视频一区| 欧美高清视频一二三区| 中文字幕亚洲在| 狠狠色丁香久久婷婷综合_中| 欧美午夜精品电影| 国产欧美日韩中文久久| 欧美aaaaaa午夜精品| 91丨九色丨蝌蚪丨老版| 国产午夜精品美女毛片视频| 奇米精品一区二区三区在线观看| 一本色道久久综合亚洲aⅴ蜜桃| 久久综合久久鬼色中文字| 丝袜亚洲另类欧美| 在线看日韩精品电影| 国产精品美女久久福利网站 | 亚洲成人综合在线| www.色精品| 久久精品人人做| 青青草视频一区| 在线不卡一区二区| 一区二区三区久久久| 成人精品高清在线| 国产欧美精品国产国产专区| 久草精品在线观看| 欧美一区二区免费观在线| 爽爽淫人综合网网站| 欧美日韩你懂得| 一区二区三区欧美| 色婷婷综合久久久久中文 | 在线观看视频一区二区欧美日韩| 国产精品久久久久久久久免费桃花| 国产乱人伦偷精品视频免下载 | 日韩二区三区在线观看| 欧美日韩中文字幕一区| 亚洲九九爱视频| 一本大道久久精品懂色aⅴ | 亚洲电影欧美电影有声小说| 欧美伊人久久大香线蕉综合69| 一区二区三区四区视频精品免费 | 欧美精品在线一区二区| 午夜精品福利久久久| 欧美高清一级片在线| 日韩av中文在线观看| 欧美一二三区在线观看| 人妖欧美一区二区| 精品国产91乱码一区二区三区| 蜜桃91丨九色丨蝌蚪91桃色| 日韩欧美专区在线| 黄色日韩三级电影| 欧美激情中文不卡| 91美女在线视频| 亚洲国产中文字幕| 这里只有精品视频在线观看| 日本欧美在线看| 2022国产精品视频| 成人一区二区三区| 樱花影视一区二区| 7878成人国产在线观看| 久久国产精品一区二区| 久久精品人人做人人综合 | 国产精品久久久久久久午夜片| 91在线视频播放地址| 亚洲一区精品在线| 91精品国产色综合久久| 国产在线播放一区二区三区| 国产精品色哟哟网站| 欧美少妇xxx| 麻豆精品一二三| 中文字幕一区二区5566日韩| 欧美人妖巨大在线| 国产成人啪午夜精品网站男同| 亚洲精品视频一区|