• <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)  編輯 收藏 引用 所屬分類: C & C++C++ STL

            導(dǎo)航

            公告

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

            常用鏈接

            隨筆分類(37)

            隨筆檔案(41)

            Algorithm

            最新隨筆

            搜索

            最新評(píng)論

            獨(dú)立博客: 哲學(xué)與程序
            一本大道久久东京热无码AV| 中文字幕热久久久久久久| 一本色道久久99一综合| 伊人情人综合成人久久网小说| 国内精品久久久久影院网站| 一本一道久久精品综合| 色综合合久久天天综合绕视看| 久久er国产精品免费观看2| 久久久av波多野一区二区| 久久亚洲AV成人无码国产| 无码国产69精品久久久久网站| 久久丫精品国产亚洲av| 久久精品人人做人人妻人人玩| 99久久中文字幕| 亚洲国产精品婷婷久久| 国内精品久久久久国产盗摄| 精品一久久香蕉国产线看播放 | 久久WWW免费人成一看片| 无码国内精品久久人妻蜜桃| 国产精品99久久免费观看| 日本三级久久网| 色播久久人人爽人人爽人人片AV| 久久久久久精品免费看SSS| 2022年国产精品久久久久| 精品久久国产一区二区三区香蕉| 国产69精品久久久久观看软件 | 欧洲精品久久久av无码电影| 久久九九青青国产精品| 香港aa三级久久三级老师2021国产三级精品三级在| 国内精品久久国产| 久久久免费精品re6| 99国内精品久久久久久久| 国产成年无码久久久免费| 亚洲国产精品久久久久婷婷软件 | 亚洲精品tv久久久久| 91精品国产乱码久久久久久 | 国产精品99久久久久久董美香| 久久中文字幕人妻丝袜| 久久精品国产免费| 无码AV波多野结衣久久| 久久精品国产一区二区|