• <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

            最新隨筆

            搜索

            最新評論

            獨立博客: 哲學與程序
            国产亚洲婷婷香蕉久久精品| 国内精品久久国产大陆| 久久综合欧美成人| 久久精品免费网站网| 日韩十八禁一区二区久久| 亚洲国产另类久久久精品黑人 | 无码人妻久久一区二区三区| 午夜天堂精品久久久久| 精品久久一区二区三区| 欧美久久综合九色综合| 久久精品国产亚洲av日韩| 99久久免费国产精品| 人妻精品久久无码专区精东影业| 成人精品一区二区久久 | 久久婷婷五月综合97色一本一本| 日本久久久久久中文字幕| 一本大道久久香蕉成人网| 青青青青久久精品国产| 国产精品久久久久a影院| 久久艹国产| 国产成人精品久久一区二区三区av| 色婷婷噜噜久久国产精品12p| 高清免费久久午夜精品| 精品久久久久久无码专区不卡| 久久精品国产亚洲αv忘忧草| 亚洲国产成人久久综合一区77| 国产91色综合久久免费分享| 亚洲综合伊人久久大杳蕉| 久久精品麻豆日日躁夜夜躁| 婷婷久久综合九色综合绿巨人| 99久久婷婷国产一区二区| 久久亚洲国产欧洲精品一| 久久99精品久久久久久hb无码 | 噜噜噜色噜噜噜久久| 久久综合九色综合欧美就去吻| 久久夜色精品国产亚洲av| 热久久这里只有精品| 亚洲国产精品久久久久网站| 亚洲国产精品婷婷久久| 88久久精品无码一区二区毛片 | 久久久久一级精品亚洲国产成人综合AV区 |