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

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

?? qlist.h

?? QT 開發環境里面一個很重要的文件
?? H
?? 第 1 頁 / 共 2 頁
字號:
/******************************************************************************** Copyright (C) 1992-2006 Trolltech ASA. All rights reserved.**** This file is part of the QtCore module of the Qt Toolkit.**** This file may be used under the terms of the GNU General Public** License version 2.0 as published by the Free Software Foundation** and appearing in the file LICENSE.GPL included in the packaging of** this file.  Please review the following information to ensure GNU** General Public Licensing requirements will be met:** http://www.trolltech.com/products/qt/opensource.html**** If you are unsure which license is appropriate for your use, please** review the following information:** http://www.trolltech.com/products/qt/licensing.html or contact the** sales department at sales@trolltech.com.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.******************************************************************************/#ifndef QLIST_H#define QLIST_H#include <QtCore/qiterator.h>#include <QtCore/qatomic.h>#include <QtCore/qalgorithms.h>#ifndef QT_NO_STL#include <iterator>#include <list>#endif#include <new>QT_BEGIN_HEADERQT_MODULE(Core)template <typename T> class QVector;template <typename T> class QSet;struct Q_CORE_EXPORT QListData {    struct Data {        QBasicAtomic ref;        int alloc, begin, end;        uint sharable : 1;        void *array[1];    };    enum { DataHeaderSize = sizeof(Data) - sizeof(void *) };    Data *detach();    void realloc(int alloc);    static Data shared_null;    Data *d;    void **erase(void **xi);    void **append();    void **append(const QListData &l);    void **prepend();    void **insert(int i);    void remove(int i);    void remove(int i, int n);    void move(int from, int to);    inline int size() const { return d->end - d->begin; }    inline bool isEmpty() const { return d->end  == d->begin; }    inline void **at(int i) const { return d->array + d->begin + i; }    inline void **begin() const { return d->array + d->begin; }    inline void **end() const { return d->array + d->end; }};template <typename T>class QList{    struct Node { void *v;#if defined(Q_CC_BOR)        Q_INLINE_TEMPLATE T &t();#else        Q_INLINE_TEMPLATE T &t()        { return *reinterpret_cast<T*>(QTypeInfo<T>::isLarge || QTypeInfo<T>::isStatic                                       ? v : this); }#endif    };    union { QListData p; QListData::Data *d; };public:    inline QList() : d(&QListData::shared_null) { d->ref.ref(); }    inline QList(const QList<T> &l) : d(l.d) { d->ref.ref(); if (!d->sharable) detach_helper(); }    ~QList();    QList<T> &operator=(const QList<T> &l);    bool operator==(const QList<T> &l) const;    inline bool operator!=(const QList<T> &l) const { return !(*this == l); }    inline int size() const { return p.size(); }    inline void detach() { if (d->ref != 1) detach_helper(); }    inline bool isDetached() const { return d->ref == 1; }    inline void setSharable(bool sharable) { if (!sharable) detach(); d->sharable = sharable; }    inline bool isEmpty() const { return p.isEmpty(); }    void clear();    const T &at(int i) const;    const T &operator[](int i) const;    T &operator[](int i);    void append(const T &t);    void prepend(const T &t);    void insert(int i, const T &t);    void replace(int i, const T &t);    void removeAt(int i);    int removeAll(const T &t);    T takeAt(int i);    T takeFirst();    T takeLast();    void move(int from, int to);    void swap(int i, int j);    int indexOf(const T &t, int from = 0) const;    int lastIndexOf(const T &t, int from = -1) const;    QBool contains(const T &t) const;    int count(const T &t) const;    class const_iterator;    class iterator {    public:        Node *i;        typedef std::random_access_iterator_tag  iterator_category;        typedef ptrdiff_t  difference_type;        typedef T value_type;        typedef T *pointer;        typedef T &reference;        inline iterator() : i(0) {}        inline iterator(Node *n) : i(n) {}        inline iterator(const iterator &o): i(o.i){}        inline T &operator*() const { return i->t(); }        inline T *operator->() const { return &i->t(); }        inline T &operator[](int j) const { return i[j].t(); }        inline bool operator==(const iterator &o) const { return i == o.i; }        inline bool operator!=(const iterator &o) const { return i != o.i; }        inline bool operator<(const iterator& other) const { return i < other.i; }        inline bool operator<=(const iterator& other) const { return i <= other.i; }        inline bool operator>(const iterator& other) const { return i > other.i; }        inline bool operator>=(const iterator& other) const { return i >= other.i; }#ifndef QT_STRICT_ITERATORS        inline bool operator==(const const_iterator &o) const            { return i == reinterpret_cast<const iterator &>(o).i; }        inline bool operator!=(const const_iterator &o) const            { return i != reinterpret_cast<const iterator &>(o).i; }        inline bool operator<(const const_iterator& other) const            { return i < reinterpret_cast<const iterator &>(other).i; }        inline bool operator<=(const const_iterator& other) const            { return i <= reinterpret_cast<const iterator &>(other).i; }        inline bool operator>(const const_iterator& other) const            { return i > reinterpret_cast<const iterator &>(other).i; }        inline bool operator>=(const const_iterator& other) const            { return i >= reinterpret_cast<const iterator &>(other).i; }#endif        inline iterator &operator++() { ++i; return *this; }        inline iterator operator++(int) { Node *n = i; ++i; return n; }        inline iterator &operator--() { i--; return *this; }        inline iterator operator--(int) { Node *n = i; i--; return n; }        inline iterator &operator+=(int j) { i+=j; return *this; }        inline iterator &operator-=(int j) { i-=j; return *this; }        inline iterator operator+(int j) const { return iterator(i+j); }        inline iterator operator-(int j) const { return iterator(i-j); }        inline int operator-(iterator j) const { return i - j.i; }    };    friend class iterator;    class const_iterator {    public:        Node *i;        typedef std::random_access_iterator_tag  iterator_category;        typedef ptrdiff_t difference_type;        typedef T value_type;        typedef const T *pointer;        typedef const T &reference;        inline const_iterator() : i(0) {}        inline const_iterator(Node *n) : i(n) {}        inline const_iterator(const const_iterator &o): i(o.i) {}#ifdef QT_STRICT_ITERATORS        inline explicit const_iterator(const iterator &o): i(o.i) {}#else        inline const_iterator(const iterator &o): i(o.i) {}#endif        inline const T &operator*() const { return i->t(); }        inline const T *operator->() const { return &i->t(); }        inline const T &operator[](int j) const { return i[j].t(); }        inline bool operator==(const const_iterator &o) const { return i == o.i; }        inline bool operator!=(const const_iterator &o) const { return i != o.i; }        inline bool operator<(const const_iterator& other) const { return i < other.i; }        inline bool operator<=(const const_iterator& other) const { return i <= other.i; }        inline bool operator>(const const_iterator& other) const { return i > other.i; }        inline bool operator>=(const const_iterator& other) const { return i >= other.i; }        inline const_iterator &operator++() { ++i; return *this; }        inline const_iterator operator++(int) { Node *n = i; ++i; return n; }        inline const_iterator &operator--() { i--; return *this; }        inline const_iterator operator--(int) { Node *n = i; i--; return n; }        inline const_iterator &operator+=(int j) { i+=j; return *this; }        inline const_iterator &operator-=(int j) { i-=j; return *this; }        inline const_iterator operator+(int j) const { return const_iterator(i+j); }        inline const_iterator operator-(int j) const { return const_iterator(i-j); }        inline int operator-(const_iterator j) const { return i - j.i; }    };    friend class const_iterator;    // stl style    inline iterator begin() { detach(); return reinterpret_cast<Node *>(p.begin()); }    inline const_iterator begin() const { return reinterpret_cast<Node *>(p.begin()); }    inline const_iterator constBegin() const { return reinterpret_cast<Node *>(p.begin()); }    inline iterator end() { detach(); return reinterpret_cast<Node *>(p.end()); }    inline const_iterator end() const { return reinterpret_cast<Node *>(p.end()); }    inline const_iterator constEnd() const { return reinterpret_cast<Node *>(p.end()); }    iterator insert(iterator before, const T &t);    iterator erase(iterator pos);    iterator erase(iterator first, iterator last);    // more Qt    typedef iterator Iterator;    typedef const_iterator ConstIterator;    inline int count() const { return p.size(); }    inline T& first() { Q_ASSERT(!isEmpty()); return *begin(); }    inline const T& first() const { Q_ASSERT(!isEmpty()); return *begin(); }    T& last() { Q_ASSERT(!isEmpty()); return *(--end()); }    const T& last() const { Q_ASSERT(!isEmpty()); return *(--end()); }    inline void removeFirst() { Q_ASSERT(!isEmpty()); erase(begin()); }    inline void removeLast() { Q_ASSERT(!isEmpty()); erase(--end()); }    QList<T> mid(int pos, int length = -1) const;    T value(int i) const;    T value(int i, const T &defaultValue) const;    // stl compatibility    inline void push_back(const T &t) { append(t); }    inline void push_front(const T &t) { prepend(t); }    inline T& front() { return first(); }    inline const T& front() const { return first(); }    inline T& back() { return last(); }    inline const T& back() const { return last(); }    inline void pop_front() { removeFirst(); }    inline void pop_back() { removeLast(); }    inline bool empty() const { return isEmpty(); }    typedef int size_type;    typedef T value_type;    typedef value_type *pointer;    typedef const value_type *const_pointer;    typedef value_type &reference;    typedef const value_type &const_reference;    typedef ptrdiff_t difference_type;#ifdef QT3_SUPPORT    inline QT3_SUPPORT iterator remove(iterator pos) { return erase(pos); }    inline QT3_SUPPORT int remove(const T &t) { return removeAll(t); }    inline QT3_SUPPORT int findIndex(const T& t) const { return indexOf(t); }    inline QT3_SUPPORT iterator find(const T& t)    { int i = indexOf(t); return (i == -1 ? end() : (begin()+i)); }    inline QT3_SUPPORT const_iterator find (const T& t) const    { int i = indexOf(t); return (i == -1 ? end() : (begin()+i)); }    inline QT3_SUPPORT iterator find(iterator from, const T& t)    { int i = indexOf(t, from - begin()); return i == -1 ? end() : begin()+i; }    inline QT3_SUPPORT const_iterator find(const_iterator from, const T& t) const    { int i = indexOf(t, from - begin()); return i == -1 ? end() : begin()+i; }#endif    // comfort    QList<T> &operator+=(const QList<T> &l);    inline QList<T> operator+(const QList<T> &l) const    { QList n = *this; n += l; return n; }    inline QList<T> &operator+=(const T &t)    { append(t); return *this; }    inline QList<T> &operator<< (const T &t)    { append(t); return *this; }    inline QList<T> &operator<<(const QList<T> &l)    { *this += l; return *this; }    QVector<T> toVector() const;    QSet<T> toSet() const;    static QList<T> fromVector(const QVector<T> &vector);    static QList<T> fromSet(const QSet<T> &set);#ifndef QT_NO_STL    static inline QList<T> fromStdList(const std::list<T> &list)    { QList<T> tmp; qCopy(list.begin(), list.end(), std::back_inserter(tmp)); return tmp; }    inline std::list<T> toStdList() const    { std::list<T> tmp; qCopy(constBegin(), constEnd(), std::back_inserter(tmp)); return tmp; }#endifprivate:    void detach_helper();    void free(QListData::Data *d);    void node_construct(Node *n, const T &t);    void node_destruct(Node *n);    void node_copy(Node *from, Node *to, Node *src);    void node_destruct(Node *from, Node *to);};#if defined(Q_CC_BOR)template <typename T>Q_INLINE_TEMPLATE T &QList<T>::Node::t(){ return QTypeInfo<T>::isLarge || QTypeInfo<T>::isStatic ? *(T*)v:*(T*)this; }#endiftemplate <typename T>Q_INLINE_TEMPLATE void QList<T>::node_construct(Node *n, const T &t){    if (QTypeInfo<T>::isLarge || QTypeInfo<T>::isStatic) n->v = new T(t);    else if (QTypeInfo<T>::isComplex) new (n) T(t);    else *reinterpret_cast<T*>(n) = t;}template <typename T>Q_INLINE_TEMPLATE void QList<T>::node_destruct(Node *n){    if (QTypeInfo<T>::isLarge || QTypeInfo<T>::isStatic) delete reinterpret_cast<T*>(n->v);    else if (QTypeInfo<T>::isComplex) reinterpret_cast<T*>(n)->~T();}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩有码一区二区三区| 美女国产一区二区三区| 91精品国产91久久久久久最新毛片 | 国产精品一区三区| 一区二区三区 在线观看视频| 日韩三级精品电影久久久| 99国产精品久| 国产一区二区三区观看| 亚洲丶国产丶欧美一区二区三区| 日本一区二区在线不卡| 91麻豆精品国产91久久久久久| 不卡视频免费播放| 久久97超碰国产精品超碰| 一区二区三区成人在线视频| 欧美国产丝袜视频| 日韩欧美国产电影| 欧美日本一区二区在线观看| 91老司机福利 在线| 国内一区二区在线| 婷婷中文字幕一区三区| 中文字幕一区免费在线观看| 精品国产一区久久| 日韩一级欧美一级| 制服丝袜日韩国产| 欧美日韩美少妇| 色哟哟精品一区| 91视视频在线观看入口直接观看www| 久久国产欧美日韩精品| 日韩 欧美一区二区三区| 亚洲一区在线免费观看| 亚洲欧美一区二区不卡| 国产精品热久久久久夜色精品三区| 日韩欧美一级在线播放| 欧美精品高清视频| 欧美日韩一区视频| 91国内精品野花午夜精品| 成年人午夜久久久| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 欧美一级高清片| 欧美日韩精品一区二区| 欧美视频在线观看一区| 在线亚洲一区观看| 欧美写真视频网站| 欧美色图12p| 欧美肥妇bbw| 精品区一区二区| 久久久久久久久一| 国产精品全国免费观看高清| 亚洲欧洲精品一区二区三区| 国产精品欧美极品| 亚洲在线免费播放| 三级久久三级久久| 精品综合免费视频观看| 国内外成人在线| 懂色av中文一区二区三区| youjizz国产精品| 色88888久久久久久影院按摩| av一区二区三区四区| 色婷婷精品久久二区二区蜜臀av | 欧美一区二区三区在线视频| 91精品一区二区三区久久久久久 | 色综合久久中文字幕| 欧美视频第二页| 日韩一级在线观看| 国产欧美在线观看一区| 亚洲人成网站精品片在线观看| 一区二区欧美精品| 免费观看在线综合色| 国产美女在线观看一区| 成人激情免费网站| 欧美日韩免费视频| 久久亚洲一区二区三区四区| 国产精品国产自产拍高清av| 一区二区三区av电影| 日韩和欧美的一区| 国产成人av一区二区三区在线| 一本久道久久综合中文字幕| 91精品欧美福利在线观看| 久久久不卡网国产精品一区| 亚洲欧美日韩国产综合在线| 无码av中文一区二区三区桃花岛| 国产另类ts人妖一区二区| 欧洲亚洲精品在线| 欧美精品一区二区三区四区| 亚洲视频一区二区免费在线观看| 日韩不卡免费视频| av一区二区三区| 欧美videos中文字幕| 亚洲精品欧美综合四区| 国产在线精品视频| 欧美日韩在线精品一区二区三区激情| 精品国产自在久精品国产| 一区二区三区中文字幕精品精品| 毛片av一区二区| 欧美三级一区二区| 国产精品国产三级国产普通话99| 日韩精品电影在线观看| 91原创在线视频| 26uuu久久综合| 午夜一区二区三区视频| 波多野结衣中文字幕一区| 91精品国产综合久久福利| 亚洲天天做日日做天天谢日日欢| 国内久久婷婷综合| 在线综合亚洲欧美在线视频| 亚洲日本va在线观看| 国产精品白丝jk黑袜喷水| 欧美日本免费一区二区三区| 亚洲欧美偷拍三级| 成人精品亚洲人成在线| 精品剧情在线观看| 日本不卡一区二区| 在线观看不卡视频| 亚洲人成网站精品片在线观看| 国产美女在线精品| 欧美成人免费网站| 免费视频一区二区| 欧美精品一级二级三级| 综合分类小说区另类春色亚洲小说欧美 | 91精品中文字幕一区二区三区| 亚洲图片激情小说| 成人一级黄色片| 国产日韩高清在线| 国产精品资源在线| 国产亚洲欧美一级| 国产一区二区伦理| 精品国产123| 久久精品二区亚洲w码| 69堂国产成人免费视频| 亚洲va国产va欧美va观看| 欧美系列亚洲系列| 亚洲一级二级三级在线免费观看| 91蜜桃网址入口| 亚洲丝袜美腿综合| 91尤物视频在线观看| 一色桃子久久精品亚洲| 成人a级免费电影| 国产精品久久影院| 99久精品国产| 一区二区三区在线观看视频| 在线视频国内自拍亚洲视频| 一区二区三区在线视频播放| 欧美视频你懂的| 天堂资源在线中文精品| 7777精品伊人久久久大香线蕉最新版 | thepron国产精品| 18涩涩午夜精品.www| av综合在线播放| 亚洲精品videosex极品| 欧美另类高清zo欧美| 免费的国产精品| 久久综合九色欧美综合狠狠| 国产精品亚洲а∨天堂免在线| 国产精品三级视频| 91福利精品第一导航| 免费观看在线色综合| 久久精品一区二区三区不卡牛牛| 成人av免费在线观看| 亚洲黄色小说网站| 欧美一级艳片视频免费观看| 国产精品亚洲一区二区三区妖精| 国产精品美日韩| 在线中文字幕一区二区| 美日韩一级片在线观看| 国产欧美中文在线| 欧美视频一区二区在线观看| 精品一区二区久久| 国产精品久久久久四虎| 欧美日韩在线播放三区| 国内精品写真在线观看| 伊人色综合久久天天人手人婷| 欧美一区二区三区视频在线| 成人激情文学综合网| 日韩中文字幕1| 久久久美女毛片| 欧美在线观看18| 国产一区二区美女诱惑| 亚洲韩国精品一区| 久久精子c满五个校花| 欧美在线视频日韩| 国产精品夜夜爽| 亚洲一区二区三区不卡国产欧美| 精品成人私密视频| 日本韩国精品在线| 国产美女精品一区二区三区| 亚洲综合图片区| 国产欧美一区二区精品性色| 欧美性受极品xxxx喷水| 国产99久久久国产精品免费看| 亚洲国产aⅴ成人精品无吗| 国产亚洲福利社区一区| 欧美日韩午夜影院| 99精品视频在线免费观看| 蜜臀av性久久久久av蜜臀妖精| 亚洲免费看黄网站| 久久久精品蜜桃| 欧美电影精品一区二区| 欧美日韩国产经典色站一区二区三区 | 精品久久久久久久久久久院品网 | 亚洲精品一线二线三线|