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

            最新隨筆

            搜索

            最新評論

            獨立博客: 哲學與程序
            国产高清美女一级a毛片久久w| 91精品日韩人妻无码久久不卡 | 色综合久久无码中文字幕| 久久久精品人妻一区二区三区蜜桃| 久久成人国产精品| 伊人久久大香线蕉无码麻豆| 久久久久人妻一区精品色| 久久久久久久综合综合狠狠| 亚洲精品乱码久久久久久按摩 | 狠狠精品久久久无码中文字幕| 久久99热狠狠色精品一区| 久久免费视频1| 久久精品夜色噜噜亚洲A∨| 99久久精品国产麻豆| 2021国内久久精品| 久久国产精品偷99| 国产精品一久久香蕉国产线看观看| 伊人久久大香线蕉精品不卡| 国产成人AV综合久久| 久久综合九色综合97_久久久 | 午夜不卡888久久| 精品少妇人妻av无码久久| 97精品国产97久久久久久免费| 狠狠精品干练久久久无码中文字幕| 国产综合久久久久久鬼色| 日韩人妻无码精品久久免费一| 亚洲国产成人精品91久久久| 久久免费大片| 久久婷婷色香五月综合激情| 少妇被又大又粗又爽毛片久久黑人 | 国产91色综合久久免费| 蜜臀久久99精品久久久久久小说| 久久婷婷五月综合国产尤物app| 亚洲国产成人久久一区WWW| 久久久久无码精品| 伊人久久一区二区三区无码| 久久久久这里只有精品| 伊色综合久久之综合久久| 国产亚洲精品久久久久秋霞 | 国产精品久久久久久吹潮| 国产一级持黄大片99久久|