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

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

?? stl_list.h

?? The Standard Template Library, or STL, is a C++ library of container classes, algorithms, and iterat
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* * * 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,1997 * 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_LIST_H#define __SGI_STL_INTERNAL_LIST_H__STL_BEGIN_NAMESPACE#if defined(__sgi) && !defined(__GNUC__) && (_MIPS_SIM != _MIPS_SIM_ABI32)#pragma set woff 1174#pragma set woff 1375#endiftemplate <class _Tp>struct _List_node {  typedef void* _Void_pointer;  _Void_pointer _M_next;  _Void_pointer _M_prev;  _Tp _M_data;};template<class _Tp, class _Ref, class _Ptr>struct _List_iterator {  typedef _List_iterator<_Tp,_Tp&,_Tp*>             iterator;  typedef _List_iterator<_Tp,const _Tp&,const _Tp*> const_iterator;  typedef _List_iterator<_Tp,_Ref,_Ptr>             _Self;  typedef bidirectional_iterator_tag iterator_category;  typedef _Tp value_type;  typedef _Ptr pointer;  typedef _Ref reference;  typedef _List_node<_Tp> _Node;  typedef size_t size_type;  typedef ptrdiff_t difference_type;  _Node* _M_node;  _List_iterator(_Node* __x) : _M_node(__x) {}  _List_iterator() {}  _List_iterator(const iterator& __x) : _M_node(__x._M_node) {}  bool operator==(const _Self& __x) const { return _M_node == __x._M_node; }  bool operator!=(const _Self& __x) const { return _M_node != __x._M_node; }  reference operator*() const { return (*_M_node)._M_data; }#ifndef __SGI_STL_NO_ARROW_OPERATOR  pointer operator->() const { return &(operator*()); }#endif /* __SGI_STL_NO_ARROW_OPERATOR */  _Self& operator++() {     _M_node = (_Node*)(_M_node->_M_next);    return *this;  }  _Self operator++(int) {     _Self __tmp = *this;    ++*this;    return __tmp;  }  _Self& operator--() {     _M_node = (_Node*)(_M_node->_M_prev);    return *this;  }  _Self operator--(int) {     _Self __tmp = *this;    --*this;    return __tmp;  }};#ifndef __STL_CLASS_PARTIAL_SPECIALIZATIONtemplate <class _Tp, class _Ref, class _Ptr>inline bidirectional_iterator_tagiterator_category(const _List_iterator<_Tp, _Ref, _Ptr>&){  return bidirectional_iterator_tag();}template <class _Tp, class _Ref, class _Ptr>inline _Tp*value_type(const _List_iterator<_Tp, _Ref, _Ptr>&){  return 0;}template <class _Tp, class _Ref, class _Ptr>inline ptrdiff_t*distance_type(const _List_iterator<_Tp, _Ref, _Ptr>&){  return 0;}#endif /* __STL_CLASS_PARTIAL_SPECIALIZATION */// Base class that encapsulates details of allocators.  Three cases:// an ordinary standard-conforming allocator, a standard-conforming// allocator with no non-static data, and an SGI-style allocator.// This complexity is necessary only because we're worrying about backward// compatibility and because we want to avoid wasting storage on an // allocator instance if it isn't necessary.#ifdef __STL_USE_STD_ALLOCATORS// Base for general standard-conforming allocators.template <class _Tp, class _Allocator, bool _IsStatic>class _List_alloc_base {public:  typedef typename _Alloc_traits<_Tp, _Allocator>::allocator_type          allocator_type;  allocator_type get_allocator() const { return _Node_allocator; }  _List_alloc_base(const allocator_type& __a) : _Node_allocator(__a) {}protected:  _List_node<_Tp>* _M_get_node()   { return _Node_allocator.allocate(1); }  void _M_put_node(_List_node<_Tp>* __p)    { _Node_allocator.deallocate(__p, 1); }protected:  typename _Alloc_traits<_List_node<_Tp>, _Allocator>::allocator_type           _Node_allocator;  _List_node<_Tp>* _M_node;};// Specialization for instanceless allocators.template <class _Tp, class _Allocator>class _List_alloc_base<_Tp, _Allocator, true> {public:  typedef typename _Alloc_traits<_Tp, _Allocator>::allocator_type          allocator_type;  allocator_type get_allocator() const { return allocator_type(); }  _List_alloc_base(const allocator_type&) {}protected:  typedef typename _Alloc_traits<_List_node<_Tp>, _Allocator>::_Alloc_type          _Alloc_type;  _List_node<_Tp>* _M_get_node() { return _Alloc_type::allocate(1); }  void _M_put_node(_List_node<_Tp>* __p) { _Alloc_type::deallocate(__p, 1); }protected:  _List_node<_Tp>* _M_node;};template <class _Tp, class _Alloc>class _List_base   : public _List_alloc_base<_Tp, _Alloc,                            _Alloc_traits<_Tp, _Alloc>::_S_instanceless>{public:  typedef _List_alloc_base<_Tp, _Alloc,                           _Alloc_traits<_Tp, _Alloc>::_S_instanceless>          _Base;   typedef typename _Base::allocator_type allocator_type;  _List_base(const allocator_type& __a) : _Base(__a) {    _M_node = _M_get_node();    _M_node->_M_next = _M_node;    _M_node->_M_prev = _M_node;  }  ~_List_base() {    clear();    _M_put_node(_M_node);  }  void clear();};#else /* __STL_USE_STD_ALLOCATORS */template <class _Tp, class _Alloc>class _List_base {public:  typedef _Alloc allocator_type;  allocator_type get_allocator() const { return allocator_type(); }  _List_base(const allocator_type&) {    _M_node = _M_get_node();    _M_node->_M_next = _M_node;    _M_node->_M_prev = _M_node;  }  ~_List_base() {    clear();    _M_put_node(_M_node);  }  void clear();protected:  typedef simple_alloc<_List_node<_Tp>, _Alloc> _Alloc_type;  _List_node<_Tp>* _M_get_node() { return _Alloc_type::allocate(1); }  void _M_put_node(_List_node<_Tp>* __p) { _Alloc_type::deallocate(__p, 1); } protected:  _List_node<_Tp>* _M_node;};#endif /* __STL_USE_STD_ALLOCATORS */template <class _Tp, class _Alloc>void _List_base<_Tp,_Alloc>::clear() {  _List_node<_Tp>* __cur = (_List_node<_Tp>*) _M_node->_M_next;  while (__cur != _M_node) {    _List_node<_Tp>* __tmp = __cur;    __cur = (_List_node<_Tp>*) __cur->_M_next;    destroy(&__tmp->_M_data);    _M_put_node(__tmp);  }  _M_node->_M_next = _M_node;  _M_node->_M_prev = _M_node;}template <class _Tp, class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >class list : protected _List_base<_Tp, _Alloc> {  typedef _List_base<_Tp, _Alloc> _Base;protected:  typedef void* _Void_pointer;public:        typedef _Tp value_type;  typedef value_type* pointer;  typedef const value_type* const_pointer;  typedef value_type& reference;  typedef const value_type& const_reference;  typedef _List_node<_Tp> _Node;  typedef size_t size_type;  typedef ptrdiff_t difference_type;  typedef typename _Base::allocator_type allocator_type;  allocator_type get_allocator() const { return _Base::get_allocator(); }public:  typedef _List_iterator<_Tp,_Tp&,_Tp*>             iterator;  typedef _List_iterator<_Tp,const _Tp&,const _Tp*> const_iterator;#ifdef __STL_CLASS_PARTIAL_SPECIALIZATION  typedef reverse_iterator<const_iterator> const_reverse_iterator;  typedef reverse_iterator<iterator>       reverse_iterator;#else /* __STL_CLASS_PARTIAL_SPECIALIZATION */  typedef reverse_bidirectional_iterator<const_iterator,value_type,                                         const_reference,difference_type>          const_reverse_iterator;  typedef reverse_bidirectional_iterator<iterator,value_type,reference,                                         difference_type>          reverse_iterator; #endif /* __STL_CLASS_PARTIAL_SPECIALIZATION */protected:#ifdef __STL_HAS_NAMESPACES  using _Base::_M_node;  using _Base::_M_put_node;  using _Base::_M_get_node;#endif /* __STL_HAS_NAMESPACES */protected:  _Node* _M_create_node(const _Tp& __x)  {    _Node* __p = _M_get_node();    __STL_TRY {      construct(&__p->_M_data, __x);    }    __STL_UNWIND(_M_put_node(__p));    return __p;  }  _Node* _M_create_node()  {    _Node* __p = _M_get_node();    __STL_TRY {      construct(&__p->_M_data);    }    __STL_UNWIND(_M_put_node(__p));    return __p;  }public:  explicit list(const allocator_type& __a = allocator_type()) : _Base(__a) {}  iterator begin()             { return (_Node*)(_M_node->_M_next); }  const_iterator begin() const { return (_Node*)(_M_node->_M_next); }  iterator end()             { return _M_node; }  const_iterator end() const { return _M_node; }  reverse_iterator rbegin()     { return reverse_iterator(end()); }  const_reverse_iterator rbegin() const     { return const_reverse_iterator(end()); }  reverse_iterator rend()    { return reverse_iterator(begin()); }  const_reverse_iterator rend() const    { return const_reverse_iterator(begin()); }  bool empty() const { return _M_node->_M_next == _M_node; }  size_type size() const {    size_type __result = 0;    distance(begin(), end(), __result);    return __result;  }  size_type max_size() const { return size_type(-1); }  reference front() { return *begin(); }  const_reference front() const { return *begin(); }  reference back() { return *(--end()); }  const_reference back() const { return *(--end()); }  void swap(list<_Tp, _Alloc>& __x) { __STD::swap(_M_node, __x._M_node); }  iterator insert(iterator __position, const _Tp& __x) {    _Node* __tmp = _M_create_node(__x);    __tmp->_M_next = __position._M_node;    __tmp->_M_prev = __position._M_node->_M_prev;    ((_Node*) (__position._M_node->_M_prev))->_M_next = __tmp;    __position._M_node->_M_prev = __tmp;    return __tmp;  }  iterator insert(iterator __position) { return insert(__position, _Tp()); }#ifdef __STL_MEMBER_TEMPLATES  // Check whether it's an integral type.  If so, it's not an iterator.  template<class _Integer>  void _M_insert_dispatch(iterator __pos, _Integer __n, _Integer __x,                          __true_type) {    _M_fill_insert(__pos, (size_type) __n, (_Tp) __x);  }  template <class _InputIterator>  void _M_insert_dispatch(iterator __pos,                          _InputIterator __first, _InputIterator __last,                          __false_type);  template <class _InputIterator>  void insert(iterator __pos, _InputIterator __first, _InputIterator __last) {    typedef typename _Is_integer<_InputIterator>::_Integral _Integral;    _M_insert_dispatch(__pos, __first, __last, _Integral());  }#else /* __STL_MEMBER_TEMPLATES */  void insert(iterator __position, const _Tp* __first, const _Tp* __last);  void insert(iterator __position,              const_iterator __first, const_iterator __last);#endif /* __STL_MEMBER_TEMPLATES */  void insert(iterator __pos, size_type __n, const _Tp& __x)    { _M_fill_insert(__pos, __n, __x); }  void _M_fill_insert(iterator __pos, size_type __n, const _Tp& __x);   void push_front(const _Tp& __x) { insert(begin(), __x); }  void push_front() {insert(begin());}  void push_back(const _Tp& __x) { insert(end(), __x); }  void push_back() {insert(end());}  iterator erase(iterator __position) {    _Node* __next_node = (_Node*) (__position._M_node->_M_next);    _Node* __prev_node = (_Node*) (__position._M_node->_M_prev);    __prev_node->_M_next = __next_node;    __next_node->_M_prev = __prev_node;    destroy(&__position._M_node->_M_data);    _M_put_node(__position._M_node);    return iterator(__next_node);  }  iterator erase(iterator __first, iterator __last);  void clear() { _Base::clear(); }  void resize(size_type __new_size, const _Tp& __x);  void resize(size_type __new_size) { resize(__new_size, _Tp()); }  void pop_front() { erase(begin()); }  void pop_back() {     iterator __tmp = end();    erase(--__tmp);  }  list(size_type __n, const _Tp& __value,       const allocator_type& __a = allocator_type())    : _Base(__a)    { insert(begin(), __n, __value); }  explicit list(size_type __n)    : _Base(allocator_type())    { insert(begin(), __n, _Tp()); }#ifdef __STL_MEMBER_TEMPLATES  // We don't need any dispatching tricks here, because insert does all of  // that anyway.    template <class _InputIterator>  list(_InputIterator __first, _InputIterator __last,       const allocator_type& __a = allocator_type())    : _Base(__a)    { insert(begin(), __first, __last); }#else /* __STL_MEMBER_TEMPLATES */  list(const _Tp* __first, const _Tp* __last,       const allocator_type& __a = allocator_type())    : _Base(__a)    { insert(begin(), __first, __last); }  list(const_iterator __first, const_iterator __last,       const allocator_type& __a = allocator_type())    : _Base(__a)    { insert(begin(), __first, __last); }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区视频在线观看| 一级中文字幕一区二区| 国产精品理论片| 亚洲123区在线观看| 国产精品一区二区久久不卡 | 国产精品丝袜在线| 秋霞影院一区二区| 丁香激情综合国产| 精品国产成人系列| 午夜在线成人av| 99久久精品99国产精品| 26uuu亚洲综合色| 婷婷六月综合网| 欧美亚洲禁片免费| 国产精品国产三级国产三级人妇 | 韩国女主播成人在线| 欧美日韩高清在线播放| 中文字幕一区二区视频| 国产一区高清在线| 日韩欧美国产综合在线一区二区三区| 亚洲自拍偷拍欧美| 日本精品裸体写真集在线观看| 国产女同性恋一区二区| 韩国午夜理伦三级不卡影院| 欧美精品1区2区3区| 婷婷久久综合九色国产成人| 欧美视频中文字幕| 亚洲一区二区在线播放相泽| 色吧成人激情小说| 亚洲欧美日韩系列| 色综合天天狠狠| 一区二区三区美女| 欧美日韩一区三区四区| 亚洲国产欧美一区二区三区丁香婷| 色综合天天综合网天天看片| 一区二区三区四区乱视频| 91蝌蚪porny九色| 一二三四区精品视频| 欧美性生活一区| 亚洲超碰97人人做人人爱| 欧美日韩你懂得| 热久久久久久久| 久久亚洲欧美国产精品乐播 | 日韩中文字幕亚洲一区二区va在线 | 日本道在线观看一区二区| 亚洲色欲色欲www| 一本在线高清不卡dvd| 一区二区三区不卡视频在线观看| 色94色欧美sute亚洲线路一久 | 欧美视频三区在线播放| 水蜜桃久久夜色精品一区的特点| 7777精品伊人久久久大香线蕉的 | 免费一区二区视频| 国产日韩av一区| 色一区在线观看| 日韩不卡一区二区三区| 精品久久国产老人久久综合| 懂色一区二区三区免费观看| 亚洲啪啪综合av一区二区三区| 欧美三级一区二区| 久草这里只有精品视频| 国产精品视频在线看| 色诱亚洲精品久久久久久| 天堂久久久久va久久久久| 久久伊人蜜桃av一区二区| 99精品欧美一区二区三区小说| 亚洲欧美日韩综合aⅴ视频| 日韩亚洲欧美成人一区| 豆国产96在线|亚洲| 婷婷国产在线综合| 国产精品网站在线播放| 欧美日韩黄色影视| 成人在线一区二区三区| 日韩国产欧美在线播放| 中文字幕av一区二区三区高| 欧美精品成人一区二区三区四区| 国产成人精品一区二区三区四区 | 亚洲人成网站精品片在线观看| 91精品国产aⅴ一区二区| 国产盗摄一区二区| 亚洲成人av一区| 国产精品久久久久久久蜜臀| 在线不卡a资源高清| 色综合久久六月婷婷中文字幕| 理论电影国产精品| 亚洲va国产va欧美va观看| 中文字幕中文字幕一区二区| 日韩视频中午一区| 色老综合老女人久久久| 从欧美一区二区三区| 久久99精品一区二区三区三区| 一区二区三区中文字幕电影 | 日本视频一区二区| 亚洲国产成人av好男人在线观看| 欧美经典一区二区| 日韩精品一区二区三区在线播放| 91福利在线播放| 91视频在线观看| av电影在线观看不卡| 黑人精品欧美一区二区蜜桃 | 一区二区三区精密机械公司| 国产精品拍天天在线| 日韩欧美亚洲国产精品字幕久久久| 欧美三级中文字幕| 日本道色综合久久| 91视频免费播放| av在线一区二区三区| 岛国精品在线播放| 不卡av电影在线播放| 国产精品一线二线三线| 国内精品自线一区二区三区视频| 久久爱www久久做| 久久66热偷产精品| 国产在线不卡一卡二卡三卡四卡| 久久er99精品| 久久se精品一区精品二区| 九色porny丨国产精品| 久草在线在线精品观看| 精品一区二区三区在线观看| 久久99精品久久久久久久久久久久| 日韩不卡一区二区三区| 麻豆国产91在线播放| 精品亚洲porn| 成人性生交大片免费| av在线综合网| 欧美视频自拍偷拍| 日韩欧美综合一区| 久久久久国产精品麻豆ai换脸| 久久久亚洲精品石原莉奈| 国产欧美日韩视频一区二区| 国产精品天美传媒| 亚洲一区在线看| 美女视频一区二区三区| 国产精品一区专区| 一本大道久久a久久综合婷婷| 欧美老肥妇做.爰bbww视频| 6080国产精品一区二区| 精品成人私密视频| 国产精品午夜在线观看| 亚洲一级在线观看| 九九精品一区二区| 99久久久精品| 欧美一区午夜视频在线观看| 国产调教视频一区| 亚洲九九爱视频| 激情文学综合丁香| 色婷婷狠狠综合| 精品国精品自拍自在线| 中文字幕日韩欧美一区二区三区| 亚洲成人午夜影院| 成人黄动漫网站免费app| 欧美区视频在线观看| 久久久久久麻豆| 亚洲国产综合色| 丰满岳乱妇一区二区三区| 欧美亚洲动漫精品| 国产欧美一区二区精品久导航| 亚洲国产精品视频| 国产高清成人在线| 在线不卡一区二区| 亚洲美女区一区| 狠狠网亚洲精品| 精品视频色一区| 国产精品白丝在线| 国产一区二区精品在线观看| 欧美在线影院一区二区| 国产亚洲欧美激情| 久色婷婷小香蕉久久| 欧洲激情一区二区| 中文字幕一区二区三区在线观看 | 久久久精品tv| 性久久久久久久| 92国产精品观看| 久久精品亚洲国产奇米99| 日本特黄久久久高潮| 欧美中文字幕不卡| 日韩美女精品在线| 国产成人高清视频| 精品国产在天天线2019| 亚洲成a人片在线观看中文| 91影院在线观看| 国产精品天干天干在观线| 精品一区二区三区免费毛片爱| 欧美三级电影一区| 亚洲激情成人在线| 99久久精品久久久久久清纯| 久久久噜噜噜久久中文字幕色伊伊 | 国产福利视频一区二区三区| 日韩一级在线观看| 日日摸夜夜添夜夜添精品视频 | 9i看片成人免费高清| 久久亚洲综合av| 久久99精品久久久久| 欧美丰满一区二区免费视频| 亚洲综合色网站| 色美美综合视频| 亚洲精品日韩综合观看成人91| 91麻豆.com| 亚洲美女视频在线| 欧美中文字幕一二三区视频|