• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            獨(dú)立博客: 哲學(xué)與程序

            哲學(xué)與程序

            STL 容器Deque

            template <class T, template <class U> class Allocator = allocator>
            class deque {
            public:
            // typedefs:
                typedef iterator;
                typedef const_iterator;
                typedef Allocator
            <T>::pointer pointer;
                typedef Allocator
            <T>::reference reference;
                typedef Allocator
            <T>::const_reference const_reference;
                typedef size_type;
                typedef difference_type;
                typedef T value_type;
                typedef reverse_iterator;
                typedef const_reverse_iterator;
            // allocation/deallocation:
                deque();
                deque(size_type n, 
            const T& value = T());
                deque(
            const deque<T, Allocator>& x);
                template 
            <class InputIterator>
                deque(InputIterator first, InputIterator last);
                
            ~deque();
                deque
            <T, Allocator>& operator=(const deque<T, Allocator>& x);
                
            void swap(deque<T, Allocator>& x);
            // accessors:
                iterator begin();
                const_iterator begin() 
            const;
                iterator end();
                const_iterator end() 
            const;
                reverse_iterator rbegin();
                const_reverse_iterator rbegin();
                reverse_iterator rend();
                const_reverse_iterator rend();
                size_type size() 
            const;
                size_type max_size() 
            const;
                
            bool empty() const;
                reference 
            operator[](size_type n);
                const_reference 
            operator[](size_type n) const;
                reference front();
                const_reference front() 
            const;
                reference back();
                const_reference back() 
            const;
            // insert/erase:
                void push_front(const T& x);
                
            void push_back(const T& x);
                iterator insert(iterator position, 
            const T& x = T());
                
            void insert (iterator position, size_type n, const T& x);
                template 
            <class InputIterator>
                
            void insert (iterator position, InputIterator first, InputIterator last);
                
            void pop_front();
                
            void pop_back();
                
            void erase(iterator position);
                
            void erase(iterator first, iterator last);
            };


            posted on 2011-01-21 22:25 哲學(xué)與程序 閱讀(362) 評(píng)論(0)  編輯 收藏 引用 所屬分類(lèi): C & C++C++ STL

            導(dǎo)航

            公告

            歡迎訪問(wèn) http://zhexue.sinaapp.com

            常用鏈接

            隨筆分類(lèi)(37)

            隨筆檔案(41)

            Algorithm

            最新隨筆

            搜索

            最新評(píng)論

            獨(dú)立博客: 哲學(xué)與程序
            99久久精品免费看国产| 最新久久免费视频| 亚洲乱码精品久久久久..| 午夜福利91久久福利| 欧美国产成人久久精品| 久久亚洲国产精品五月天婷| 久久久久九国产精品| 日韩久久久久中文字幕人妻| 无码国内精品久久人妻麻豆按摩| 久久亚洲国产精品五月天婷| 思思久久精品在热线热| 亚洲午夜无码久久久久| 久久发布国产伦子伦精品| 精品久久777| 久久久久久av无码免费看大片| 久久久久免费视频| 一本色道久久99一综合| 久久综合久久久| 一本久久精品一区二区| 国产成人久久精品一区二区三区 | 亚洲午夜久久久久妓女影院| 亚洲香蕉网久久综合影视| 国产成人久久精品激情| 久久se精品一区精品二区国产| 久久精品国产亚洲Aⅴ香蕉| 区久久AAA片69亚洲| 国产精品一区二区久久不卡| 国产激情久久久久影院小草| 精品久久久无码人妻中文字幕| 色成年激情久久综合| 久久久噜噜噜久久中文字幕色伊伊| 国产V亚洲V天堂无码久久久| 久久久久久噜噜精品免费直播| 亚洲人成精品久久久久| 久久se这里只有精品| 久久亚洲中文字幕精品有坂深雪| 久久精品国产只有精品66| 久久ww精品w免费人成| 久久人人爽人人人人爽AV| 精品久久久久一区二区三区| 久久久久亚洲AV无码网站|