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

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

?? container.html

?? 指導程序員合理、高效的進行標準模板庫編程。
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="Author" CONTENT="Zafir Anjum">
   <TITLE>MFC Programmer's SourceBook : STL Programmer's Guide</TITLE>
    <META name="description" 
     content="A freely available implementation 
     of the C++ Standard Template Library, including 
     hypertext documentation.">
	<META name="keywords" 
	content="generic programming, STL, standard template library">
</HEAD>

<SCRIPT LANGUAGE="JavaScript"><!--
var adcategory = "cpp";
// -->
</SCRIPT>
<body background="../../fancyhome/back.gif" bgcolor="#FFFFFF" >
<SCRIPT LANGUAGE="JavaScript"><!--
var nfrm = location.href.indexOf("_nfrm_");
var validframes = (top.frames.length > 0 && top.frames['ad'] && top.frames['logo'] );
var random = Math.random();

if( !validframes && nfrm == -1 )
{
	var dclkPage = "www.codeguru.com/";
	if( self.adcategory )
		dclkPage += adcategory;
	else
		dclkPage += "mfc";
	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>');
}


//		top.location = "/show.cgi?" + adcategory + "=" + location.pathname;


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





<BR Clear>
<H1>Container</H1>

<Table CellPadding=0 CellSpacing=0 width=100%>
<TR>
<TD Align=left><Img src = "containers.gif" Alt=""   WIDTH = "194"  HEIGHT = "38" ></TD>
<TD Align=right><Img src = "concept.gif" Alt=""   WIDTH = "194"  HEIGHT = "38" ></TD>
</TR>
<TR>
<TD Align=left VAlign=top><b>Category</b>: containers</TD>
<TD Align=right VAlign=top><b>Component type</b>: concept</TD>
</TR>
</Table>

<h3>Description</h3>
A Container is an object that stores other objects (its <i>elements</i>),
and that has methods for accessing its elements.  In particular, 
every type that is a model of Container has an associated <A href="Iterators.html">iterator</A>
type that can be used to iterate through the Container's elements.
<P>
There is no guarantee that the elements of a Container are stored
in any definite order; the order might, in fact, be different upon
each iteration through the Container.  Nor is there a guarantee that
more than one iterator into a Container may be active at any one time.
(Specific types of Containers, such as <A href="ForwardContainer.html">Forward Container</A>, do 
provide such guarantees.)
<P>
A Container &quot;owns&quot; its elements: the lifetime of an element stored in 
a container cannot exceed that of the Container itself. <A href="#1">[1]</A>
<h3>Refinement of</h3>
<A href="Assignable.html">Assignable</A>
<h3>Associated types</h3>
<Table border>
<TR>
<TD VAlign=top>
Value type
</TD>
<TD VAlign=top>
<tt>X::value_type</tt>
</TD>
<TD VAlign=top>
The type of the object stored in a container.  The value type
   must be <A href="Assignable.html">Assignable</A>, but need not be <A href="DefaultConstructible.html" tppabs="http://www.sgi.com/Technology/STL/DefaultConstructible.shtml">DefaultConstructible</A>. <A href="#2">[2]</A>
</TD>
</TR>
<TR>
<TD VAlign=top>
Iterator type
</TD>
<TD VAlign=top>
<tt>X::iterator</tt>
</TD>
<TD VAlign=top>
The type of iterator used to iterate through a container's
   elements.  The iterator's value type is expected to be the
   container's value type.  A conversion
   from the iterator type to the const iterator type must exist.
   The iterator type must be an <A href="InputIterator.html">input iterator</A>. <A href="#3">[3]</A>
</TD>
</TR>
<TR>
<TD VAlign=top>
Const iterator type
</TD>
<TD VAlign=top>
<tt>X::const_iterator</tt>
</TD>
<TD VAlign=top>
A type of iterator that may be used to examine, but not to modify,
   a container's elements. <A href="#3">[3]</A> <A href="#4">[4]</A>
</TD>
</TR>
<TR>
<TD VAlign=top>
Reference type
</TD>
<TD VAlign=top>
<tt>X::reference</tt>
</TD>
<TD VAlign=top>
A type that behaves as a reference to the container's value type. <A href="#5">[5]</A>
</TD>
</TR>
<TR>
<TD VAlign=top>
Const reference type
</TD>
<TD VAlign=top>
<tt>X::const_reference</tt>
</TD>
<TD VAlign=top>
A type that behaves as a const reference to the container's value
type. <A href="#5">[5]</A>
</TD>
</TR>
<TR>
<TD VAlign=top>
Pointer type
</TD>
<TD VAlign=top>
<tt>X::pointer</tt>
</TD>
<TD VAlign=top>
A type that behaves as a pointer to the container's value type. <A href="#6">[6]</A>
</TD>
</TR>
<TR>
<TD VAlign=top>
Distance type
</TD>
<TD VAlign=top>
<tt>X::difference_type</tt>
</TD>
<TD VAlign=top>
A signed integral type used to represent the distance between two
   of the container's iterators.  This type must be the same as 
   the iterator's distance type. <A href="#2">[2]</A>
</TD>
</TR>
<TR>
<TD VAlign=top>
Size type
</TD>
<TD VAlign=top>
<tt>X::size_type</tt>
</TD>
<TD VAlign=top>
An unsigned integral type that can represent any nonnegative value
   of the container's distance type. <A href="#2">[2]</A>
</TD>
</tr>
</table>
<h3>Notation</h3>
<Table>
<TR>
<TD VAlign=top>
<tt>X</tt>
</TD>
<TD VAlign=top>
A type that is a model of Container
</TD>
</TR>
<TR>
<TD VAlign=top>
<tt>a</tt>, <tt>b</tt>
</TD>
<TD VAlign=top>
Object of type <tt>X</tt>
</TD>
</TR>
<TR>
<TD VAlign=top>
<tt>T</tt>
</TD>
<TD VAlign=top>
The value type of <tt>X</tt>
</TD>
</tr>
</table>
<h3>Definitions</h3>
The <i>size</i> of a container is the number of elements it contains.
The size is a nonnegative number.
<P>
The <i>area</i> of a container is the total number of bytes that it
occupies.  More specifically, it is the sum of the elements' areas
plus whatever overhead is associated with the container itself.  If a
container's value type <tt>T</tt> is a simple type (as opposed to a container
type), then the container's area is bounded above by a constant times
the container's size times <tt>sizeof(T)</tt>.  That is, if <tt>a</tt> is a
container with a simple value type, then <tt>a</tt>'s area is <tt>O(a.size())</tt>.
<P>
A <i>variable sized</i> container is one that provides methods for
inserting and/or removing elements; its size may vary during a
container's lifetime.  A <i>fixed size</i> container is one where 
the size is constant throughout the container's lifetime.  In some
fixed-size container types, the size is determined at compile time.
<h3>Valid expressions</h3>
In addition to the expressions defined in 
<A href="Assignable.html">Assignable</A>, <A href="EqualityComparable.html" tppabs="http://www.sgi.com/Technology/STL/EqualityComparable.shtml">EqualityComparable</A>, and <A href="LessThanComparable.html" tppabs="http://www.sgi.com/Technology/STL/LessThanComparable.shtml">LessThanComparable</A>, the 
following expressions must be valid.
<Table border>
<TR>
<TH>
Name
</TH>
<TH>
Expression
</TH>
<TH>
Type requirements
</TH>
<TH>
Return type
</TH>
</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>
<tt>iterator</tt> if <tt>a</tt> is mutable, <tt>const_iterator</tt> otherwise <A href="#4">[4]</A> <A href="#7">[7]</A>
</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>
<tt>iterator</tt> if <tt>a</tt> is mutable, <tt>const_iterator</tt> otherwise <A href="#4">[4]</A>
</TD>
</TR>
<TR>
<TD VAlign=top>
Size
</TD>
<TD VAlign=top>
<tt>a.size()</tt>
</TD>
<TD VAlign=top>
&nbsp;
</TD>
<TD VAlign=top>
<tt>size_type</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>
<tt>size_type</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>
Convertible to <tt>bool</tt>
</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>
<tt>void</tt>
</TD>
</tr>
</table>
<h3>Expression semantics</h3>
Semantics of an expression is defined only where it differs from, or 
is not defined in,
<A href="Assignable.html">Assignable</A>, <A href="EqualityComparable.html" tppabs="http://www.sgi.com/Technology/STL/EqualityComparable.shtml">Equality Comparable</A>,
or <A href="LessThanComparable.html">LessThan Comparable</A>
<Table border>
<TR>
<TH>
Name
</TH>
<TH>
Expression
</TH>
<TH>
Precondition
</TH>
<TH>
Semantics
</TH>
<TH>
Postcondition
</TH>
</TR>
<TR>
<TD VAlign=top>
Copy constructor

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕一区二区5566日韩| 首页国产欧美久久| 午夜久久久影院| 波多野结衣亚洲| 欧美成人猛片aaaaaaa| 一区二区三区欧美日韩| 成人综合婷婷国产精品久久 | 亚洲在线观看免费| 国产不卡在线一区| 亚洲精品在线观看网站| 日韩av高清在线观看| 在线观看日韩电影| 成人欧美一区二区三区白人| 国产一区二区主播在线| 日韩欧美中文一区二区| 日韩国产在线观看一区| 欧美三级视频在线观看 | 久久蜜桃一区二区| 久久精品理论片| 91精品在线免费| 水蜜桃久久夜色精品一区的特点| 色婷婷久久综合| 亚洲免费在线视频| 日本道免费精品一区二区三区| 国产精品久久久久7777按摩| 国产精品99久久久久久有的能看 | 日本韩国欧美在线| 亚洲一区二区在线观看视频| 在线日韩一区二区| 亚洲一区二区视频| 欧美日韩国产免费一区二区| 亚洲一区二区三区四区不卡| 欧美在线一二三| 亚洲精品国产精品乱码不99 | 国产不卡免费视频| 中文一区二区在线观看| 成人午夜私人影院| 亚洲欧美另类小说| 欧美另类z0zxhd电影| 蜜臀av性久久久久蜜臀av麻豆| 欧美一区二区三区在| 国产一区二区视频在线播放| 国产午夜亚洲精品午夜鲁丝片| 风间由美一区二区三区在线观看| 欧美激情一区二区三区蜜桃视频| 成人精品免费看| 亚洲免费视频中文字幕| 3d成人h动漫网站入口| 麻豆精品久久久| 国产精品国产三级国产专播品爱网| 99久久99久久久精品齐齐| 亚洲一区二区在线免费观看视频| 69久久夜色精品国产69蝌蚪网| 免费高清成人在线| 国产精品国产自产拍高清av| 在线看不卡av| 精品一区二区三区影院在线午夜 | 精品成人在线观看| 99视频精品全部免费在线| 天天操天天干天天综合网| 久久久久免费观看| 欧美在线免费视屏| 国产乱码精品一品二品| 亚洲伦在线观看| 欧美成人女星排名| 91一区二区在线观看| 日韩精品一级中文字幕精品视频免费观看 | 日韩av电影一区| 国产肉丝袜一区二区| 在线观看www91| 国产精品一区免费在线观看| 亚洲国产日韩精品| 国产精品免费aⅴ片在线观看| 欧美视频自拍偷拍| 国产成都精品91一区二区三| 亚洲大片免费看| 国产精品理伦片| 欧美一级高清片| 色悠悠久久综合| 国产成人免费视频网站| 亚洲永久精品大片| 国产精品色哟哟| 欧美成人午夜电影| 欧美精三区欧美精三区| 色综合久久中文字幕综合网| 精品一区二区三区视频| 日本午夜一本久久久综合| 亚洲伦在线观看| 国产精品视频一二三区| 久久综合成人精品亚洲另类欧美| 欧美日韩一区二区不卡| 在线中文字幕不卡| 丁香一区二区三区| 国产精品一区不卡| 久久99久久久欧美国产| 秋霞av亚洲一区二区三| 亚洲综合久久久| 亚洲自拍偷拍九九九| 亚洲人成影院在线观看| 国产精品视频你懂的| 久久久久久电影| 久久久久9999亚洲精品| 精品剧情v国产在线观看在线| 欧美一区二区三区的| 欧美精品色一区二区三区| 欧美天堂一区二区三区| 欧美三级日韩三级国产三级| 色综合久久综合网97色综合| 色综合久久六月婷婷中文字幕| av不卡一区二区三区| 不卡一卡二卡三乱码免费网站| 国产.精品.日韩.另类.中文.在线.播放| 九九九久久久精品| 国模少妇一区二区三区| 国产成人一级电影| 91麻豆精品国产| 国产老肥熟一区二区三区| 国内精品久久久久影院薰衣草| 国内精品免费在线观看| 国产精品一区在线观看你懂的| 国产精品一区二区男女羞羞无遮挡| 免费一级欧美片在线观看| 久久国产剧场电影| 国产激情精品久久久第一区二区 | 国产偷v国产偷v亚洲高清 | 日韩三级视频中文字幕| 欧美一区日韩一区| 久久综合色综合88| 中文字幕在线一区二区三区| 亚洲卡通欧美制服中文| 亚洲第一久久影院| 激情六月婷婷综合| 不卡一区二区三区四区| 91国偷自产一区二区三区观看| 欧美日韩电影在线播放| 精品国产乱码久久| 中文字幕亚洲不卡| 污片在线观看一区二区| 国产在线播放一区三区四| 99视频一区二区| 91超碰这里只有精品国产| 久久精品一区四区| 一二三四区精品视频| 久久99九九99精品| 一本到高清视频免费精品| 日韩一区二区三区免费观看| 国产欧美视频一区二区| 亚洲激情在线激情| 九色综合狠狠综合久久| 91原创在线视频| 精品日韩在线一区| 亚洲影视在线观看| 国产成人aaa| 91麻豆精品国产无毒不卡在线观看| 久久久久国产精品免费免费搜索| 亚洲免费观看高清完整| 精品中文av资源站在线观看| 色综合天天做天天爱| 26uuu精品一区二区| 亚洲影院理伦片| 国产99久久久精品| 日韩精品一区在线| 国产精品久久久久久亚洲毛片| 日韩精品91亚洲二区在线观看| 国产1区2区3区精品美女| 欧美一区二区三区四区在线观看| 国产日韩欧美一区二区三区综合| 亚洲va欧美va人人爽| 91丨九色丨国产丨porny| 久久一区二区三区四区| 婷婷亚洲久悠悠色悠在线播放| www.视频一区| 久久精品人人做人人爽人人| 午夜激情综合网| 欧美亚一区二区| 国产精品成人免费精品自在线观看| 精品一区二区三区免费观看| 欧美日韩卡一卡二| 一区二区三区四区激情| 97久久人人超碰| 国产精品免费观看视频| 91福利社在线观看| 国产午夜精品理论片a级大结局| 日av在线不卡| 777亚洲妇女| 性久久久久久久久| 欧美视频中文字幕| 亚洲小说欧美激情另类| 一本色道久久综合狠狠躁的推荐 | 精品免费视频一区二区| 日韩精品一卡二卡三卡四卡无卡| 91小视频在线免费看| 自拍偷在线精品自拍偷无码专区 | 欧美揉bbbbb揉bbbbb| 亚洲精品国产精华液| 色婷婷激情久久| 亚洲综合自拍偷拍| 欧美日韩精品免费观看视频| 亚洲成人免费av| 日韩欧美激情在线|