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

            最新隨筆

            搜索

            最新評論

            獨立博客: 哲學與程序
            狠狠色噜噜色狠狠狠综合久久| 久久国产精品99精品国产987| 国产精品久久久久久久app| 亚洲AV无一区二区三区久久| 亚洲国产精品久久久久婷婷软件| 亚洲国产成人久久一区久久| 久久久精品一区二区三区| 久久国产亚洲精品| 成人精品一区二区久久| 日韩精品久久无码人妻中文字幕| 爱做久久久久久| 日本免费一区二区久久人人澡| 久久精品国产亚洲AV香蕉| 久久精品国产亚洲5555| 99久久成人国产精品免费| 国产亚洲精品久久久久秋霞| 欧美色综合久久久久久| 久久综合久久综合九色| 国产精品久久久亚洲| 一97日本道伊人久久综合影院| 亚洲一区二区三区日本久久九| 久久国产精品成人片免费| 综合久久精品色| 亚洲精品成人网久久久久久| 久久精品国产黑森林| 久久久不卡国产精品一区二区| 亚洲成人精品久久| 曰曰摸天天摸人人看久久久| 久久综合久久综合久久| 亚洲国产成人久久精品影视| 久久综合九色综合久99| 99久久国产亚洲高清观看2024 | 精品久久一区二区三区| 久久永久免费人妻精品下载| 久久精品一本到99热免费| 久久精品毛片免费观看| 亚洲欧洲日产国码无码久久99| 亚洲精品高清国产一线久久| 男女久久久国产一区二区三区| 久久强奷乱码老熟女网站| 一本色道久久99一综合|