亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? vector.html

?? ISO_C++:C++_STL開發文檔
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
Returns the <tt>n</tt>'th element.</TD></TR><TR><TD VAlign=top><tt>vector()</tt></TD><TD VAlign=top> <A href="Container.html">Container</A></TD><TD VAlign=top>Creates an empty vector.</TD></TR><TR><TD VAlign=top><tt>vector(size_type n)</tt></TD><TD VAlign=top> <A href="Sequence.html">Sequence</A></TD><TD VAlign=top>Creates a vector with <tt>n</tt> elements.</TD></TR><TR><TD VAlign=top><tt>vector(size_type n, const T&amp; t)</tt></TD><TD VAlign=top> <A href="Sequence.html">Sequence</A></TD><TD VAlign=top>Creates a vector with <tt>n</tt> copies of <tt>t</tt>.</TD></TR><TR><TD VAlign=top><tt>vector(const vector&amp;)</tt></TD><TD VAlign=top> <A href="Container.html">Container</A></TD><TD VAlign=top>The copy constructor.</TD></TR><TR><TD VAlign=top><pre>template &lt;class <A href="InputIterator.html">InputIterator</A>&gt;vector(InputIterator, InputIterator)<A href="#1">[1]</A></pre></TD><TD VAlign=top> <A href="Sequence.html">Sequence</A></TD><TD VAlign=top>Creates a vector with a copy of a range.</TD></TR><TR><TD VAlign=top><tt>~vector()</tt></TD><TD VAlign=top> <A href="Container.html">Container</A></TD><TD VAlign=top>The destructor.</TD></TR><TR><TD VAlign=top><tt>vector&amp; operator=(const vector&amp;)</tt></TD><TD VAlign=top> <A href="Container.html">Container</A></TD><TD VAlign=top>The assignment operator</TD></TR><TR><TD VAlign=top><tt>void reserve(size_t)</tt></TD><TD VAlign=top><tt>vector</tt></TD><TD VAlign=top>See below.</TD></TR><TR><TD VAlign=top><tt>reference front()</tt></TD><TD VAlign=top> <A href="Sequence.html">Sequence</A></TD><TD VAlign=top>Returns the first element.</TD></TR><TR><TD VAlign=top><tt>const_reference front() const</tt></TD><TD VAlign=top> <A href="Sequence.html">Sequence</A></TD><TD VAlign=top>Returns the first element.</TD></TR><TR><TD VAlign=top><tt>reference back()</tt></TD><TD VAlign=top> <A href="BackInsertionSequence.html">Back Insertion Sequence</A></TD><TD VAlign=top>Returns the last element.</TD></TR><TR><TD VAlign=top><tt>const_reference back() const</tt></TD><TD VAlign=top> <A href="BackInsertionSequence.html">Back Insertion Sequence</A></TD><TD VAlign=top>Returns the last element.</TD></TR><TR><TD VAlign=top><tt>void push_back(const T&amp;)</tt></TD><TD VAlign=top> <A href="BackInsertionSequence.html">Back Insertion Sequence</A></TD><TD VAlign=top>Inserts a new element at the end.</TD></TR><TR><TD VAlign=top><tt>void pop_back()</tt></TD><TD VAlign=top> <A href="BackInsertionSequence.html">Back Insertion Sequence</A></TD><TD VAlign=top>Removes the last element.</TD></TR><TR><TD VAlign=top><tt>void swap(vector&amp;)</tt></TD><TD VAlign=top> <A href="Container.html">Container</A></TD><TD VAlign=top>Swaps the contents of two vectors.</TD></TR><TR><TD VAlign=top><pre>iterator insert(iterator pos,                const T&amp; x)</pre></TD><TD VAlign=top> <A href="Sequence.html">Sequence</A></TD><TD VAlign=top>Inserts <tt>x</tt> before <tt>pos</tt>.</TD></TR><TR><TD VAlign=top><pre>template &lt;class <A href="InputIterator.html">InputIterator</A>&gt;void insert(iterator pos,            InputIterator f, InputIterator l)<A href="#1">[1]</A></pre></TD><TD VAlign=top> <A href="Sequence.html">Sequence</A></TD><TD VAlign=top>Inserts the range <tt>[first, last)</tt> before <tt>pos</tt>.</TD></TR><TR><TD VAlign=top><pre>void insert(iterator pos,             size_type n, const T&amp; x)</pre></TD><TD VAlign=top> <A href="Sequence.html">Sequence</A></TD><TD VAlign=top>Inserts <tt>n</tt> copies of <tt>x</tt> before <tt>pos</tt>.</TD></TR><TR><TD VAlign=top><tt>iterator erase(iterator pos)</tt></TD><TD VAlign=top> <A href="Sequence.html">Sequence</A></TD><TD VAlign=top>Erases the element at position <tt>pos</tt>.</TD></TR><TR><TD VAlign=top><tt>iterator erase(iterator first, iterator last)</tt></TD><TD VAlign=top> <A href="Sequence.html">Sequence</A></TD><TD VAlign=top>Erases the range <tt>[first, last)</tt></TD></TR><TR><TD VAlign=top><tt>void clear()</tt></TD><TD VAlign=top> <A href="Sequence.html">Sequence</A></TD><TD VAlign=top>Erases all of the elements.</TD></TR><TR><TD VAlign=top><tt>void resize(n, t = T())</tt></TD><TD VAlign=top> <A href="Sequence.html">Sequence</A></TD><TD VAlign=top>Inserts or erases elements at the end such that the size becomes <tt>n</tt>.</TD></TR><TR><TD VAlign=top><pre>bool operator==(const vector&amp;,                 const vector&amp;)</pre></TD><TD VAlign=top> <A href="ForwardContainer.html">Forward Container</A></TD><TD VAlign=top>Tests two vectors for equality.  This is a global function, not   a member function.</TD></TR><TR><TD VAlign=top><pre>bool operator&lt;(const vector&amp;,                const vector&amp;)</pre></TD><TD VAlign=top> <A href="ForwardContainer.html">Forward Container</A></TD><TD VAlign=top>Lexicographical comparison.  This is a global function, not   a member function.</TD></tr></table><h3>New members</h3>These members are not defined in the <A href="RandomAccessContainer.html">Random Access Container</A> and <A href="BackInsertionSequence.html">Back Insertion Sequence</A>requirements, but are specific to <tt>vector</tt>.<Table border><TR><TH>Member</TH><TH>Description</TH></TR><TR><TD VAlign=top><tt>size_type capacity() const</tt></TD><TD VAlign=top>Number of elements for which memory has been allocated.   <tt>capacity()</tt> is always greater than or equal to <tt>size()</tt>.   <A href="#2">[2]</A> <A href="#3">[3]</A></TD></TR><TR><TD VAlign=top><tt>void reserve(size_type n)</tt></TD><TD VAlign=top>If <tt>n</tt> is less than or equal to <tt>capacity()</tt>, this call has no effect.    Otherwise, it is a request for allocation of additional     memory.  If the request is successful, then <tt>capacity()</tt> is    greater than or equal to <tt>n</tt>; otherwise, <tt>capacity()</tt> is unchanged.    In either case, <tt>size()</tt> is unchanged.      <A href="#2">[2]</A> <A href="#4">[4]</A></TD></tr></table><h3>Notes</h3><P><A name="1">[1]</A>This member function relies on <i>member template</i> functions, whichat present (early 1998) are not supported by all compilers.  If yourcompiler supports member templates, you can call this function withany type of <A href="InputIterator.html">input iterator</A>.  If yourcompiler does not yet support member templates, though, then thearguments must be of type <tt>const value_type*</tt>.<P><A name="2">[2]</A>Memory will be reallocated automatically if more than <tt>capacity() -size()</tt> elements are inserted into the vector.  Reallocation doesnot change <tt>size()</tt>, nor does it change the values of anyelements of the vector.  It does, however, increase<tt>capacity()</tt>, and it invalidates <A href="#5">[5]</A> anyiterators that point into the vector.<P><A name="3">[3]</A>When it is necessary to increase <tt>capacity()</tt>, <tt>vector</tt>usually increases it by a factor of two.  It is crucial that theamount of growth is proportional to the current <tt>capacity()</tt>,rather than a fixed constant: in the former case inserting a series ofelements into a vector is a linear time operation, and in the lattercase it is quadratic.<P><A name="4">[4]</A><tt>Reserve()</tt> causes a reallocation manually.  The main reasonfor using <tt>reserve()</tt> is efficiency: if you know the capacityto which your <tt>vector</tt> must eventually grow, then it is usuallymore efficient to allocate that memory all at once rather than relyingon the automatic reallocation scheme.  The other reason for using<tt>reserve()</tt> is so that you can control the invalidation ofiterators. <A href="#5">[5]</A><P><A name="5">[5]</A>A vector's iterators are invalidated when its memory is reallocated.Additionally, inserting or deleting an element in the middle of avector invalidates all iterators that point to elements following theinsertion or deletion point.  It follows that you can prevent avector's iterators from being invalidated if you use<tt>reserve()</tt> to preallocate as much memory as the vector willever use, and if all insertions and deletions are at the vector's end.<h3>See also</h3><A href="Deque.html">deque</A>, <A href="List.html">list</A>, <A href="Slist.html">slist</A><!--start footer--> <HR SIZE="6"><A href="http://www.sgi.com/"><IMG SRC="surf.gif" HEIGHT="54" WIDTH="54"         ALT="[Silicon Surf]"></A><A HREF="index.html"><IMG SRC="stl_home.gif"         HEIGHT="54" WIDTH="54" ALT="[STL Home]"></A><BR><FONT SIZE="-2"><A href="http://www.sgi.com/Misc/sgi_info.html" TARGET="_top">Copyright &copy; 1999 Silicon Graphics, Inc.</A> All Rights Reserved.</FONT><FONT SIZE="-3"><a href="http://www.sgi.com/Misc/external.list.html" TARGET="_top">TrademarkInformation</A></FONT><P></BODY></HTML> 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩国产精品91| 依依成人精品视频| 欧美福利一区二区| 欧美在线综合视频| 欧美日韩国产综合一区二区三区 | 日本vs亚洲vs韩国一区三区二区 | 欧美亚洲国产一区在线观看网站 | 91老师国产黑色丝袜在线| 激情综合五月天| 丁香婷婷深情五月亚洲| 成人精品国产福利| 欧美色精品在线视频| 欧美电影免费观看高清完整版在线观看| 欧美三级一区二区| 精品美女在线播放| 亚洲国产精品久久人人爱蜜臀| 免费亚洲电影在线| 91国偷自产一区二区开放时间 | www.99精品| 91精品国产高清一区二区三区| 欧美成人猛片aaaaaaa| 樱花影视一区二区| 国产美女精品一区二区三区| 一本久道久久综合中文字幕| 日韩一区二区视频| 亚洲三级理论片| 成人av电影在线播放| 欧美mv日韩mv国产网站| 亚洲国产成人porn| 成年人午夜久久久| 国产欧美一区二区精品性色| 日韩高清不卡一区| 91精品国产一区二区三区蜜臀| 亚洲男同性视频| 国产成人在线免费观看| 精品理论电影在线| 美女精品一区二区| 51午夜精品国产| 国产在线国偷精品免费看| 精品免费国产一区二区三区四区| 亚洲美女偷拍久久| 欧美人妖巨大在线| 麻豆精品一二三| 2024国产精品| 色婷婷久久99综合精品jk白丝| 国产清纯美女被跳蛋高潮一区二区久久w| 奇米777欧美一区二区| 日韩欧美国产精品| eeuss国产一区二区三区| 久久久久久久精| 麻豆国产91在线播放| 国产欧美精品在线观看| 色香蕉久久蜜桃| 国产一区二区h| 亚洲一卡二卡三卡四卡五卡| 日韩欧美一级二级三级久久久| 国产一区二区免费在线| 亚洲一区二区欧美日韩| 久久综合中文字幕| 欧美无乱码久久久免费午夜一区| 九九视频精品免费| 视频一区中文字幕国产| 国产精品久久久久久久岛一牛影视| 在线观看欧美精品| 国产91丝袜在线播放0| 久久电影网站中文字幕| 亚洲国产成人91porn| 中文字幕的久久| 亚洲国产高清在线观看视频| 欧美不卡在线视频| 91精品久久久久久蜜臀| 欧美日本在线一区| 欧美撒尿777hd撒尿| 日本韩国精品在线| 99热国产精品| 欧美日韩精品免费观看视频| 欧美亚洲高清一区| 日韩一区二区在线播放| 日韩写真欧美这视频| 欧美xxxxxxxx| 国产午夜三级一区二区三| 国产亚洲欧美中文| 中文字幕欧美一区| 亚洲老妇xxxxxx| 日韩**一区毛片| 欧美午夜不卡视频| 欧美国产精品一区二区| 在线精品视频一区二区三四| 亚洲视频一二区| 久久综合久久久久88| 精品日本一线二线三线不卡| 国产拍欧美日韩视频二区| 亚洲欧美日韩一区二区| 蜜桃久久久久久| 91浏览器入口在线观看| 日韩欧美一二区| 午夜av电影一区| 成熟亚洲日本毛茸茸凸凹| 欧美色窝79yyyycom| 国产视频一区在线观看| 亚洲1区2区3区4区| 91亚洲精品一区二区乱码| 欧美日韩在线三级| 亚洲欧洲综合另类| 老司机午夜精品| 欧美日本韩国一区| 亚洲一区二区三区视频在线播放| 成人免费毛片片v| 国产亚洲欧美日韩日本| 国内精品伊人久久久久av影院| 欧美揉bbbbb揉bbbbb| 亚洲女人的天堂| 色婷婷国产精品| 亚洲成人自拍一区| 91精品久久久久久久99蜜桃| 亚洲高清中文字幕| 一区二区三区av电影| 免费精品视频在线| 成人动漫视频在线| 韩国理伦片一区二区三区在线播放| 在线亚洲精品福利网址导航| 国产人成亚洲第一网站在线播放| 亚洲成人av在线电影| 色欧美88888久久久久久影院| 国产精品888| 日本韩国一区二区三区| 亚洲素人一区二区| 精品少妇一区二区三区免费观看 | 国产综合久久久久影院| 日本强好片久久久久久aaa| 欧美亚男人的天堂| 亚洲综合一区二区精品导航| 99国内精品久久| 强制捆绑调教一区二区| 欧美精品 国产精品| 婷婷开心激情综合| 久久综合九色综合97婷婷女人| 精品一二三四在线| 国产人久久人人人人爽| 91久久精品一区二区二区| 日韩女优视频免费观看| 另类小说综合欧美亚洲| 国产欧美一区视频| 不卡在线视频中文字幕| 婷婷国产v国产偷v亚洲高清| 久久午夜电影网| 欧美午夜一区二区三区| 久久不见久久见中文字幕免费| 国产色综合一区| 欧美高清视频www夜色资源网| 国产精品18久久久久久vr| 国产欧美日韩亚州综合| 欧美一区二区私人影院日本| 福利一区二区在线观看| 麻豆精品视频在线| 亚洲国产精品av| 久久先锋影音av| 久久久久88色偷偷免费| 日韩欧美在线观看一区二区三区| 不卡的电视剧免费网站有什么| 美腿丝袜一区二区三区| 亚洲四区在线观看| 亚洲综合免费观看高清完整版| 欧美日本在线一区| 亚洲视频一区二区在线观看| 精品一区二区三区香蕉蜜桃| 日韩精品乱码av一区二区| 亚洲午夜视频在线观看| 午夜激情一区二区三区| 六月丁香综合在线视频| 日韩av中文字幕一区二区| 久久成人免费网| 成人黄色在线视频| 在线观看免费亚洲| 欧美精品丝袜久久久中文字幕| 日韩精品一区二区三区在线播放 | 精品成a人在线观看| 成人欧美一区二区三区| 亚洲成人一二三| 国产成人av资源| 欧美三区在线视频| 精品区一区二区| 日本欧美在线看| 成人毛片视频在线观看| 欧美一区二区免费观在线| 欧美激情一区二区| 国产色综合一区| 国产高清不卡一区二区| 欧美一区二区网站| 亚洲一区av在线| 精品视频在线免费看| 国产精品国产成人国产三级 | 99riav久久精品riav| 欧美一区二区三区视频在线观看| 欧美极品少妇xxxxⅹ高跟鞋| 亚瑟在线精品视频| 久久99国产精品免费| 欧美日韩国产综合久久| 亚洲欧洲另类国产综合| 国产精品一区二区久久不卡|