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

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

?? container.html

?? 指導程序員合理、高效的進行標準模板庫編程。
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
</TD>
<TD VAlign=top>
<tt>X(a)</tt>
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
<tt>X().size() == a.size()</tt>.  <tt>X()</tt> contains a copy of each of <tt>a</tt>'s elements.
</TD>
</TR>
<TR>
<TD VAlign=top>
Copy constructor
</TD>
<TD VAlign=top>
<tt>X b(a);</tt>
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
<tt>b.size() == a.size()</tt>.  <tt>b</tt> contains a copy of each of <tt>a</tt>'s elements.
</TD>
</TR>
<TR>
<TD VAlign=top>
Assignment operator
</TD>
<TD VAlign=top>
<tt>b = a</tt>
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
<tt>b.size() == a.size()</tt>.  <tt>b</tt> contains a copy of each of <tt>a</tt>'s elements.
</TD>
</TR>
<TR>
<TD VAlign=top>
Destructor
</TD>
<TD VAlign=top>
<tt>a.~X()</tt>
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
Each of <tt>a</tt>'s elements is destroyed, and memory allocated for them
   (if any) is deallocated.
</TD>
<TD VAlign=top>
&nbsp;
</TD>
</TR>
<TR>
<TD VAlign=top>
Beginning of range
</TD>
<TD VAlign=top>
<tt>a.begin()</tt>
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
Returns an iterator pointing to the first element in the container. <A href="#7">[7]</A>
</TD>
<TD VAlign=top>
<tt>a.begin()</tt> is either dereferenceable or past-the-end.  It is
   past-the-end if and only if <tt>a.size() == 0</tt>.
</TD>
</TR>
<TR>
<TD VAlign=top>
End of range
</TD>
<TD VAlign=top>
<tt>a.end()</tt>
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
Returns an iterator pointing one past the last element in the
   container.
</TD>
<TD VAlign=top>
<tt>a.end()</tt> is past-the-end.
</TD>
</TR>
<TR>
<TD VAlign=top>
Size
</TD>
<TD VAlign=top>
<tt>a.size()</tt>
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
Returns the size of the container, that is, its number of elements. <A href="#8">[8]</A>
</TD>
<TD VAlign=top>
<tt>a.size() &gt;= 0 &amp;&amp; a.size() &lt;= max_size()</tt>
</TD>
</TR>
<TR>
<TD VAlign=top>
Maximum size
</TD>
<TD VAlign=top>
<tt>a.max_size()</tt>
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
Returns the largest size that this container can ever have. <A href="#8">[8]</A>
</TD>
<TD VAlign=top>
<tt>a.max_size() &gt;= 0 &amp;&amp; a.max_size() &gt;= a.size()</tt>
</TD>
</TR>
<TR>
<TD VAlign=top>
Empty container
</TD>
<TD VAlign=top>
<tt>a.empty()</tt>
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
Equivalent to <tt>a.size() == 0</tt>.  (But possibly faster.)
</TD>
<TD VAlign=top>
&nbsp;
</TD>
</TR>
<TR>
<TD VAlign=top>
Swap
</TD>
<TD VAlign=top>
<tt>a.swap(b)</tt>
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
Equivalent to <tt>swap(a,b)</tt> <A href="#9">[9]</A>
</TD>
<TD VAlign=top>
&nbsp;
</TD>
</tr>
</table>
<h3>Complexity guarantees</h3>
The copy constructor, the assignment operator, and the destructor
   are linear in the container's size.
<P>
<tt>begin()</tt> and <tt>end()</tt> are amortized constant time.
<P>
<tt>size()</tt> is linear in the
   container's size. <A href="#10">[10]</A>  <tt>max_size()</tt> and 
   <tt>empty()</tt> are amortized constant time.  If you are
   testing whether a container is empty, you should always write
   <tt>c.empty()</tt> instead of <tt>c.size() == 0</tt>.  The two expressions are
   equivalent, but the former may be much faster.
<P>
<tt>swap()</tt> is amortized constant time. <A href="#9">[9]</A>
<h3>Invariants</h3>
<Table border>
<TR>
<TD VAlign=top>
Valid range
</TD>
<TD VAlign=top>
For any container <tt>a</tt>, <tt>[a.begin(), a.end())</tt> is a valid
   range. <A href="#11">[11]</A>
</TD>
</TR>
<TR>
<TD VAlign=top>
Range size
</TD>
<TD VAlign=top>
<tt>a.size()</tt> is equal to the distance from <tt>a.begin()</tt> to <tt>a.end()</tt>.
</TD>
</TR>
<TR>
<TD VAlign=top>
Completeness
</TD>
<TD VAlign=top>
An algorithm that iterates through the range <tt>[a.begin(), a.end())</tt>
   will pass through every element of <tt>a</tt>. <A href="#11">[11]</A>
</TD>
</tr>
</table>
<h3>Models</h3>
<UL>
<LI>
 <A href="Vector.html">vector</A>
</UL>
<h3>Notes</h3>
<P><A name="1">[1]</A>
The fact that the lifetime of elements cannot exceed that of of
their container may seem like a severe restriction.  In fact, though,
it is not.  Note that pointers and iterators are objects; like any
other objects, they may be stored in a container.  The container, in
that case, &quot;owns&quot; the pointers themselves, but not the objects that
they point to.
<P><A name="2">[2]</A>
This expression must be a <tt>typedef</tt>, that is, a synonym for
a type that already has some other name.
<P><A name="3">[3]</A>
This may either be a <tt>typedef</tt> for some other type, or else
a unique type that is defined as a nested class within the class 
<tt>X</tt>.
<P><A name="4">[4]</A>
A container's iterator type and const iterator type may be the
same: there is no guarantee that every container must have an
associated mutable iterator type.  For example, <tt><A href="set.html">set</A></tt> and
<tt><A href="hash_set.html">hash_set</A></tt> define <tt>iterator</tt> and <tt>const_iterator</tt> to be
the same type.
<P><A name="5">[5]</A>
It is required that the reference type has the same semantics as
an ordinary C++ reference, but it need not actually be an ordinary C++
reference.  Some implementations, for example, might provide
additional reference types to support non-standard memory models.
Note, however, that &quot;smart references&quot; (user-defined reference types
that provide additional functionality) are not a viable option.  It is
impossible for a user-defined type to have the same semantics as C++
references, because the C++ language does not support redefining the
member access operator (<tt>operator.</tt>).
<P><A name="6">[6]</A>
As in the case of references <A href="#5">[5]</A>, the pointer type must have the
same semantics as C++ pointers but need not actually be a C++ pointer.
&quot;Smart pointers,&quot; however, unlike &quot;smart references&quot;, are possible.
This is because it is possible for user-defined types to define the
dereference operator and the pointer member access operator, 
<tt>operator*</tt> and <tt>operator-&gt;</tt>.
<P><A name="7">[7]</A>
The iterator type need only be an <i>input iterator</i>, which
provides a very weak set of guarantees; in particular, all algorithms
on input iterators must be &quot;single pass&quot;.  It follows that only a single
iterator into a container may be active at any one time.  This restriction
is removed in <A href="ForwardContainer.html">Forward Container</A>.
<P><A name="8">[8]</A>
In the case of a fixed-size container, <tt>size() == max_size()</tt>.
<P><A name="9">[9]</A>
For any <A href="Assignable.html">Assignable</A> type, <A href="swap.html" tppabs="http://www.sgi.com/Technology/STL/swap.shtml">swap</A> can be defined in terms of
assignment.  This requires three assignments, each of which, for 
a container type, is linear in the container's size.  In a sense,
then, <tt>a.swap(b)</tt> is redundant.  It exists solely for the sake of
efficiency: for many containers, such as <A href="Vector.html">vector</A> and <A href="List.html" tppabs="http://www.sgi.com/Technology/STL/List.shtml">list</A>,
it is possible to implement <tt>swap</tt> such that its run-time complexity
is constant rather than linear.  If this is possible for some container
type <tt>X</tt>, then the template specialization <tt><A href="swap.html">swap</A>(X&amp;, X&amp;)</tt> can
simply be written in terms of <tt>X::swap(X&amp;)</tt>.  The implication of this
is that <tt>X::swap(X&amp;)</tt> should <b>only</b> be defined if there exists such
a constant-time implementation.  Not every container class <tt>X</tt> need
have such a member function, but if the member function exists at all then
it is guaranteed to be amortized constant time.
<P><A name="10">[10]</A>
For many containers, such as <tt><A href="Vector.html">vector</A></tt> and <tt><A href="Deque.html" tppabs="http://www.sgi.com/Technology/STL/Deque.shtml">deque</A></tt>, <tt>size</tt> is
<i>O(1</i>).  This satisfies the requirement that it be <i>O(N</i>).
<P><A name="11">[11]</A>
Although <tt>[a.begin(), a.end())</tt> must be a valid range, and must
include every element in the container, the order in which the elements
appear in that range is unspecified.  If you iterate through a container
twice, it is not guaranteed that the order will be the same both
times.  This restriction is removed in <A href="ForwardContainer.html">Forward Container</A>.
<h3>See also</h3>
The <A href="Iterators.html">Iterator overview</A>, <A href="InputIterator.html" tppabs="http://www.sgi.com/Technology/STL/InputIterator.shtml">Input Iterator</A>, <A href="Sequence.html" tppabs="http://www.sgi.com/Technology/STL/Sequence.shtml">Sequence</A>

<HR SIZE="6"> <FONT SIZE="-2"> Copyright &copy; 1996 Silicon Graphics, Inc.
<HR>
<TABLE BORDER=0 WIDTH="100%" >
<TR>
<TD WIDTH="33%"><FONT SIZE=-1><A HREF="index.html" >
STL</A></FONT></TD>

<TD WIDTH="33%">
<CENTER><FONT SIZE=-2>&copy; Copyright 1997-1998 CodeGuru</FONT>&nbsp;</CENTER>
</TD>

<TD WIDTH="34%">
<DIV ALIGN=right><FONT SIZE=-1>Contact : <A HREF="mailto:webmaster@codeguru.com">webmaster@codeguru.com</A>&nbsp;</FONT></DIV>
</TD>
</TR>
</TABLE>
<SCRIPT LANGUAGE="JavaScript" ><!--
var adurl = "/cgi-bin/doubleclick.cgi?";

if( self.adcategory )
	adurl += adcategory;
else
	adurl += "mfc";

if( self.parent.norefreshad )
	parent.norefreshad = false;
else if( validframes )
	parent.frames['ad'].location = adurl;



if( !validframes && nfrm == -1)
{
	var dclkPage = "www.codeguru.com/";
	if( self.adcategory )
		dclkPage += adcategory;
	else 
		dclkPage += "mfc";
//	var random = Math.random();
	document.write('<nolayer><center>');
	document.write('<iframe src="http://ad.doubleclick.net/adi/' + dclkPage + ';ord='
	 + random + '" width=470 height=62 marginwidth=0 marginheight=0 hspace=0 vspace=0 '
	 + 'frameborder=0 scrolling=no bordercolor="#000000">');
	document.write('<a href="http://ad.doubleclick.net/jump/' + dclkPage + ';ord='
	 + random + '">');
	document.write('<img src="http://ad.doubleclick.net/ad/' + dclkPage + ';ord='
	 + random + '" height=60 width=468>' + '</a>');
	document.write('</iframe>');
	document.write('</center></nolayer>');
	document.write('<layer  src="http://ad.doubleclick.net/adl/' + dclkPage + 
	 ';ord=' + random + '"></layer>');
	document.write('<ilayer visibility=hide width=468 height=83></ilayer>');
}

// -->
</SCRIPT> 
<!-- SCRIPT LANGUAGE="JavaScript" SRC="/global/fscript.js">
//
</SCRIPT --> 

<noscript>
<p align="center">
<a href="http://ad.doubleclick.net/jump/www.codeguru.com/cpp;ord=NupaBtFCY34AAHZitM0">
<img src="http://ad.doubleclick.net/ad/www.codeguru.com/cpp;ord=NupaBtFCY34AAHZitM0"></a>
</p>
</noscript>





</BODY>
</HTML>


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色国产精品一区在线观看| 国产精品久久久久久久久快鸭| 久久亚洲一区二区三区四区| 18成人在线视频| 日产精品久久久久久久性色| 国产福利一区在线| 日韩免费看的电影| 亚洲国产三级在线| 99久久精品费精品国产一区二区| 日韩视频免费观看高清在线视频| 亚洲精品中文在线影院| 国产精品一二三四| 精品99久久久久久| 免费高清视频精品| 538在线一区二区精品国产| 日韩理论在线观看| 风间由美一区二区av101| 欧美mv日韩mv亚洲| 免费的国产精品| 欧美电影影音先锋| 天堂久久久久va久久久久| 91福利社在线观看| 亚洲精品高清视频在线观看| 成人免费视频一区| 国产精品免费丝袜| 成人一区二区视频| 欧美极品美女视频| 国内外成人在线视频| 日韩精品资源二区在线| 日本在线不卡视频| 日韩亚洲欧美成人一区| 日本美女一区二区| 欧美电影免费观看完整版| 日本最新不卡在线| 久久综合给合久久狠狠狠97色69| 奇米影视一区二区三区| 日韩午夜三级在线| 久久国产精品一区二区| 精品国产欧美一区二区| 国产一区二区三区综合| 国产女同互慰高潮91漫画| 国产盗摄视频一区二区三区| 国产网站一区二区| 成人美女视频在线观看18| 国产亚洲婷婷免费| 捆绑调教美女网站视频一区| 精品久久99ma| 国产精品一区二区久激情瑜伽| 日韩欧美在线不卡| 日本人妖一区二区| 欧美日韩一区二区三区视频| 国产精品久久久久久久岛一牛影视 | 国产一区视频网站| 久久亚洲精精品中文字幕早川悠里 | 亚洲欧美日韩在线不卡| 91福利资源站| 蜜桃视频一区二区| 中文字幕欧美国产| 欧美视频一区在线| 国产麻豆一精品一av一免费| 最近日韩中文字幕| 91精品国模一区二区三区| 国产不卡免费视频| 亚洲国产精品久久久男人的天堂| 欧美一级一级性生活免费录像| 国产成人高清在线| 亚洲一线二线三线视频| 精品久久久久av影院| 99久久综合99久久综合网站| 丝袜亚洲另类欧美综合| 国产精品热久久久久夜色精品三区 | 欧美成人性福生活免费看| 国产黄色精品视频| 亚洲国产精品久久人人爱蜜臀| 久久这里只有精品6| 欧美视频一区二区三区在线观看 | 精品久久久久久最新网址| 99久精品国产| 精品写真视频在线观看| 亚洲一线二线三线视频| 欧美极品少妇xxxxⅹ高跟鞋| 欧美一区二区三区人| 色婷婷av一区二区三区之一色屋| 国产一区啦啦啦在线观看| 亚洲一区二区成人在线观看| 日本一区二区视频在线观看| 欧美日韩国产另类一区| av在线不卡网| 国产精品系列在线播放| 欧美96一区二区免费视频| 一区二区在线免费| 亚洲欧洲精品一区二区三区不卡 | 4hu四虎永久在线影院成人| 99久久国产综合色|国产精品| 国产在线国偷精品免费看| 亚洲高清免费一级二级三级| 亚洲欧美一区二区不卡| 欧美国产精品专区| 国产无人区一区二区三区| 精品国产91乱码一区二区三区| 欧美人与禽zozo性伦| 在线观看精品一区| 日本精品一区二区三区高清| 成人sese在线| 成人中文字幕合集| 国产成人欧美日韩在线电影| 精品午夜一区二区三区在线观看| 日韩av在线免费观看不卡| 五月婷婷综合在线| 亚洲成av人片观看| 午夜精品久久久久影视| 亚洲午夜久久久久久久久电影网| 亚洲黄色性网站| 午夜影视日本亚洲欧洲精品| 一区二区高清免费观看影视大全 | 在线免费观看一区| 色素色在线综合| 在线观看亚洲精品视频| 色噜噜狠狠成人中文综合| 色欧美日韩亚洲| 欧美军同video69gay| 4438x成人网最大色成网站| 欧美一级高清片| 久久香蕉国产线看观看99| 久久美女艺术照精彩视频福利播放| 2023国产精品视频| 中文字幕欧美国产| 一区二区三区色| 青青草国产成人av片免费| 精品一区二区国语对白| 国产91精品久久久久久久网曝门| 成人一级视频在线观看| 日本精品裸体写真集在线观看| 91国内精品野花午夜精品| 欧美精品黑人性xxxx| 久久综合色综合88| 国产精品国产三级国产a| 亚洲一区二区视频| 久久超碰97中文字幕| 国产1区2区3区精品美女| 色天使久久综合网天天| 日韩欧美一级片| 欧美激情综合在线| 亚洲成人免费看| 狠狠色丁香九九婷婷综合五月| 丁香亚洲综合激情啪啪综合| 欧美在线观看你懂的| 日韩一级完整毛片| ...av二区三区久久精品| 婷婷综合五月天| 国产成人免费xxxxxxxx| 欧美日韩高清不卡| 国产日本亚洲高清| 亚洲3atv精品一区二区三区| 国产河南妇女毛片精品久久久| 色综合久久综合| 久久日一线二线三线suv| 亚洲区小说区图片区qvod| 麻豆精品国产91久久久久久| 成人成人成人在线视频| 日韩亚洲欧美中文三级| 亚洲激情第一区| 国产成人精品一区二| 欧美视频中文一区二区三区在线观看| 久久美女高清视频| 首页国产欧美日韩丝袜| 暴力调教一区二区三区| 欧美成人一区二区| 亚洲国产日产av| 色综合久久六月婷婷中文字幕| 日韩欧美另类在线| 午夜精品久久久久久久| 白白色亚洲国产精品| 欧美精品一区二区在线观看| 亚洲一卡二卡三卡四卡五卡| 国产福利视频一区二区三区| 日韩美女视频一区二区在线观看| 亚洲视频在线观看一区| 国产 日韩 欧美大片| 欧美zozozo| 美女高潮久久久| 欧美日韩国产电影| 亚洲成人av免费| 日本高清不卡一区| 亚洲美女少妇撒尿| 91视频精品在这里| 国产精品欧美久久久久无广告| 九九久久精品视频| 日韩欧美在线不卡| 美女在线视频一区| 7777精品伊人久久久大香线蕉经典版下载 | 成人综合婷婷国产精品久久免费| 日韩欧美不卡在线观看视频| 日韩av高清在线观看| 欧美一区二区视频在线观看2022| 亚洲国产婷婷综合在线精品| 欧美色国产精品| 亚洲www啪成人一区二区麻豆 | 91麻豆文化传媒在线观看| 国产精品区一区二区三区|