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

            導航

            公告

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

            常用鏈接

            隨筆分類(37)

            隨筆檔案(41)

            Algorithm

            最新隨筆

            搜索

            最新評論

            獨立博客: 哲學與程序
            久久A级毛片免费观看| 国产69精品久久久久99尤物| 午夜精品久久久久久影视777| 色婷婷综合久久久久中文字幕| 天堂无码久久综合东京热| 亚洲女久久久噜噜噜熟女| 亚洲国产精品一区二区久久| 99久久免费国产精品特黄| 久久久久亚洲av无码专区喷水| 精品无码久久久久久久久久| 欧美精品国产综合久久| 国产福利电影一区二区三区久久老子无码午夜伦不 | 亚洲午夜久久久久久久久电影网 | 精品人妻伦一二三区久久| 中文字幕久久亚洲一区| 久久精品一区二区三区不卡| 久久无码国产专区精品| 国内精品久久久久影院网站| 色综合久久综合中文综合网| 久久国产乱子伦精品免费午夜| 久久久久亚洲AV成人片| 超级碰碰碰碰97久久久久| 久久免费视频一区| 久久精品国产亚洲av瑜伽| 久久亚洲国产中v天仙www| 蜜臀久久99精品久久久久久小说| 亚洲第一永久AV网站久久精品男人的天堂AV| 久久精品国产99久久久| 亚洲综合精品香蕉久久网| 天天影视色香欲综合久久| 久久亚洲欧洲国产综合| 国产一区二区精品久久凹凸| 91精品日韩人妻无码久久不卡| 久久九九有精品国产23百花影院| 久久亚洲春色中文字幕久久久| 中文字幕人妻色偷偷久久 | 精品久久久久久久| 2020久久精品国产免费| 久久精品九九亚洲精品| 99久久久精品| 中文字幕亚洲综合久久2|