• <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>
            獨立博客: 哲學與程序

            哲學與程序

            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 哲學與程序 閱讀(370) 評論(0)  編輯 收藏 引用 所屬分類: C & C++C++ STL

            導航

            公告

            歡迎訪問 http://zhexue.sinaapp.com

            常用鏈接

            隨筆分類(37)

            隨筆檔案(41)

            Algorithm

            最新隨筆

            搜索

            最新評論

            獨立博客: 哲學與程序
            97久久国产亚洲精品超碰热| 国产午夜福利精品久久| 久久亚洲精品成人AV| 久久精品天天中文字幕人妻| 国产成人久久久精品二区三区| 久久综合精品国产一区二区三区| 日韩人妻无码一区二区三区久久 | 国产高清国内精品福利99久久| 欧美午夜A∨大片久久 | 亚洲精品无码久久久影院相关影片 | 久久se精品一区精品二区| 久久国产香蕉一区精品| 久久人人爽爽爽人久久久| 亚洲国产综合久久天堂 | 99精品久久久久久久婷婷| 久久精品国产亚洲AV不卡| 久久一区二区三区99| 久久久久久久99精品免费观看| 青草国产精品久久久久久| 伊人久久大香线蕉综合5g| 久久丝袜精品中文字幕| 国产高清国内精品福利99久久| 国产精品久久久久AV福利动漫| 久久久久久久97| 久久久久久免费视频| 亚洲一区精品伊人久久伊人| 一本久久综合亚洲鲁鲁五月天| 久久av高潮av无码av喷吹| 国产99久久久国产精品~~牛| 久久精品视频网| 国产亚洲美女精品久久久| 亚洲国产精品一区二区久久| AAA级久久久精品无码区| 91精品观看91久久久久久| 精品久久久久久国产免费了| 久久成人永久免费播放| 久久综合一区二区无码| 久久中文字幕视频、最近更新| 一本大道久久东京热无码AV| 久久久久亚洲AV片无码下载蜜桃| 亚洲午夜无码久久久久|