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

            最新隨筆

            搜索

            最新評論

            獨立博客: 哲學與程序
            亚洲人成网亚洲欧洲无码久久| 无码国内精品久久人妻| 久久涩综合| 精品综合久久久久久98| 久久91精品国产91久久小草| 狠狠久久综合伊人不卡| 亚洲国产另类久久久精品| 国产99久久精品一区二区| 久久99精品久久久久久秒播| 亚洲国产精品无码久久一区二区| 久久艹国产| 国内精品久久国产大陆| 一个色综合久久| 久久久久久久国产免费看| 精品久久久久久国产潘金莲| 久久久久久伊人高潮影院| 久久成人18免费网站| 久久青青草原综合伊人| 久久国产精品99国产精| 久久受www免费人成_看片中文| 国产午夜精品理论片久久| 亚洲国产精品人久久| 97久久超碰国产精品旧版| 午夜精品久久久久久久久| 久久SE精品一区二区| 一本久久精品一区二区| 欧美日韩成人精品久久久免费看| 亚洲一区二区三区日本久久九| 久久人爽人人爽人人片AV| 亚洲香蕉网久久综合影视| 久久精品国产99国产精品亚洲| 7777精品伊人久久久大香线蕉| 亚洲人成电影网站久久| 婷婷久久五月天| 久久久亚洲裙底偷窥综合| 伊人久久大香线蕉亚洲| 漂亮人妻被黑人久久精品| 久久综合综合久久综合| 91精品国产9l久久久久| aaa级精品久久久国产片| 久久免费高清视频|