📄 csdn技术中心 深入研究 stl deque 容器.mht
字号:
=C8=DD=C6=F7</SPAN></TD></TR>
<TR>
<TD align=3Dmiddle bgColor=3D#003399 height=3D16><FONT=20
color=3D#ffffff>=B3=F6=B4=A6</FONT></TD>
<TD> <SPAN=20
=
id=3DArticleTitle1_ArticleTitle1_lblSource></SPAN></TD></TR></TBODY></TAB=
LE></TD></TR>
<TR>
<TD width=3D10></TD>
<TD><SPAN id=3DArticleContent1_ArticleContent1_lblContent>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt; =
TEXT-ALIGN: center"=20
align=3Dcenter><B style=3D"mso-bidi-font-weight: =
normal"><SPAN=20
style=3D"FONT-SIZE: 16pt; FONT-FAMILY: =
=BB=AA=CE=C4=D0=D0=BF=AC">=C9=EE=C8=EB=D1=D0=BE=BF<SPAN lang=3DEN-US> =
STL=20
Deque </SPAN>=C8=DD=C6=F7<SPAN =
lang=3DEN-US><o:p></o:p></SPAN></SPAN></B></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 10pt; TEXT-ALIGN: =
center; mso-line-height-rule: exactly"=20
align=3Dcenter><SPAN class=3DMsoHyperlink><B=20
style=3D"mso-bidi-font-weight: normal"><SPAN lang=3DEN-US=20
style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana; =
TEXT-DECORATION: none; text-underline: none"><A=20
=
href=3D"http://www.codeproject.com/vcpp/stl/vector_vs_deque.asp"><SPAN=20
style=3D"TEXT-DECORATION: none; text-underline: none">An =
In-Depth=20
Study of the STL Deque Container</SPAN></A><FONT =
color=3D#0000ff><U>=20
</U></FONT></SPAN></B></SPAN><SPAN class=3DMsoHyperlink><B=20
style=3D"mso-bidi-font-weight: normal"><SPAN lang=3DEN-US=20
style=3D"FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: =
Verdana; TEXT-DECORATION: none; text-underline: none"><U>(By=20
</U></SPAN></B></SPAN><B><SPAN lang=3DEN-US=20
style=3D"FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: =
Verdana"><A=20
=
href=3D"http://www.codeproject.com/script/profile/whos_who.asp?id=3D41072=
"><SPAN=20
style=3D"COLOR: black; TEXT-DECORATION: none; =
text-underline: none">Nitron</SPAN></A></SPAN></B><U><SPAN=20
class=3DMsoHyperlink><B style=3D"mso-bidi-font-weight: =
normal"><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: =
Verdana; TEXT-DECORATION: none; text-underline: =
none">)</SPAN></B></SPAN><SPAN=20
class=3DMsoHyperlink><B style=3D"mso-bidi-font-weight: =
normal"><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 7.5pt; COLOR: black; TEXT-DECORATION: =
none; text-underline: none"><o:p></o:p></SPAN></B></SPAN></U></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 10pt; TEXT-ALIGN: =
center; mso-line-height-rule: exactly"=20
align=3Dcenter><B><SPAN=20
style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: Verdana; mso-hansi-font-family: =
Verdana">=B7=AD=D2=EB</SPAN></B><B><SPAN=20
lang=3DEN-US style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: =
Verdana">=20
masterlee<o:p></o:p></SPAN></B></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 10pt; TEXT-ALIGN: =
center; mso-line-height-rule: exactly"=20
align=3Dcenter><B><SPAN lang=3DEN-US=20
style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: =
Verdana"><o:p> </o:p></SPAN></B></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt"><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'">=B1=BE=CE=C4=B5=B5=C9=EE=C8=EB=B7=D6=CE=F6=C1=CB</SPAN><SPAN =
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">std::deque</SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New =
Roman'">=A3=AC=B2=A2=CC=E1=B9=A9=C1=CB=D2=BB=B8=F6=D6=B8=B5=BC=CB=BC=CF=EB=
=A3=BA=B5=B1=BF=BC=C2=C7=B5=BD=C4=DA=B4=E6=B7=D6=C5=E4=BA=CD=D6=B4=D0=D0=D0=
=D4=C4=DC=B5=C4=CA=B1=BA=F2=A3=AC=CA=B9=D3=C3</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">std::deque</SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'">=D2=AA=B1=C8</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">std::vector</SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'">=BA=C3=A1=A3</SPAN><SPAN=20
lang=3DEN-US style=3D"FONT-SIZE: 9pt"><o:p></o:p></SPAN></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt"><SPAN =
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt"><o:p> </o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><B=20
style=3D"mso-bidi-font-weight: normal"><SPAN=20
style=3D"COLOR: #993300; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'; mso-bidi-font-size: 10.5pt">=BD=E9=C9=DC</SPAN></B><B=20
style=3D"mso-bidi-font-weight: normal"><SPAN lang=3DEN-US=20
style=3D"COLOR: #993300; mso-bidi-font-size: =
10.5pt"><o:p></o:p></SPAN></B></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt; =
TEXT-INDENT: 18pt"><B=20
style=3D"mso-bidi-font-weight: normal"><SPAN lang=3DEN-US=20
style=3D"COLOR: #993300; mso-bidi-font-size: 10.5pt"><SPAN=20
style=3D"mso-tab-count: 1"></SPAN></SPAN></B><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'">=B1=BE=CE=C4=C9=EE=C8=EB=B5=D8=D1=D0=BE=BF=C1=CB</SPAN><SPAN =
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">std::deque=20
</SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New =
Roman'">=C8=DD=C6=F7=A1=A3=B1=BE=CE=C4=BD=AB=CC=D6=C2=DB=D4=DA=D2=BB=D0=A9=
=C7=E9=BF=F6=CF=C2=CA=B9=D3=C3</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">deque</SPAN><SPAN=20
lang=3DEN-US style=3D"FONT-SIZE: 9pt"> </SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'">=B1=C8</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">vector</SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New =
Roman'">=B8=FC=BA=C3=A1=A3=B6=C1=CD=EA=D5=E2=C6=AA=CE=C4=D5=C2=BA=F3=B6=C1=
=D5=DF=D3=A6=B8=C3=C4=DC=B9=BB=C0=ED=BD=E2=D4=DA=C8=DD=C1=BF=D4=F6=B3=A4=B5=
=C4=B9=FD=B3=CC=D6=D0</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">deque=20
</SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'">=D3=EB</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">vector</SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New =
Roman'">=D4=DA=C4=DA=B4=E6=B7=D6=C5=E4=BA=CD=D0=D4=C4=DC=B5=C4=B2=BB=CD=AC=
=B1=ED=CF=D6=A1=A3=D3=C9=D3=DA</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">deque</SPAN><SPAN=20
lang=3DEN-US style=3D"FONT-SIZE: 9pt"> </SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'">=BA=CD</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">vector</SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New =
Roman'">=B5=C4=D3=C3=B7=A8=BA=DC=CF=E0=CB=C6=A3=AC=B6=C1=D5=DF=BF=C9=D2=D4=
=B2=CE=BF=BC</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt"><A=20
=
href=3D"http://www.codeproject.com/vcpp/stl/std_vector.asp"><SPAN=20
style=3D"TEXT-DECORATION: none; text-underline: =
none">vector</SPAN></A></SPAN><SPAN=20
lang=3DEN-US style=3D"FONT-SIZE: 9pt"> </SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New =
Roman'">=B5=C4=CE=C4=B5=B5=D6=D0=BD=E9=C9=DC=C8=E7=BA=CE=CA=B9=D3=C3</SPA=
N><SPAN=20
lang=3DEN-US style=3D"FONT-SIZE: 9pt">STL</SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'">=C8=DD=C6=F7=A1=A3</SPAN><SPAN=20
lang=3DEN-US style=3D"FONT-SIZE: 9pt"><o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><B=20
style=3D"mso-bidi-font-weight: normal"><SPAN lang=3DEN-US=20
style=3D"COLOR: #993300; mso-bidi-font-size: =
10.5pt"><o:p> </o:p></SPAN></B></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><B=20
style=3D"mso-bidi-font-weight: normal"><SPAN lang=3DEN-US=20
style=3D"COLOR: #993300; mso-bidi-font-size: =
10.5pt">Deque</SPAN></B><B=20
style=3D"mso-bidi-font-weight: normal"><SPAN=20
style=3D"COLOR: #993300; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'; mso-bidi-font-size: 10.5pt">=D7=DC=C0=C0</SPAN></B><B=20
style=3D"mso-bidi-font-weight: normal"><SPAN lang=3DEN-US=20
style=3D"COLOR: #993300; mso-bidi-font-size: =
10.5pt"><o:p></o:p></SPAN></B></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN =
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">deque</SPAN><SPAN=20
lang=3DEN-US style=3D"FONT-SIZE: 9pt"> </SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'">=BA=CD</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">vector</SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New =
Roman'">=D2=BB=D1=F9=B6=BC=CA=C7=B1=EA=D7=BC=C4=A3=B0=E5=BF=E2=D6=D0=B5=C4=
=C4=DA=C8=DD=A3=AC</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">deque</SPAN><SPAN=20
lang=3DEN-US style=3D"FONT-SIZE: 9pt"> </SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New =
Roman'">=CA=C7=CB=AB=B6=CB=B6=D3=C1=D0=A3=AC=D4=DA=BD=D3=BF=DA=C9=CF=BA=CD=
</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">vector</SPAN><SPAN=20
lang=3DEN-US style=3D"FONT-SIZE: 9pt"> </SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New =
Roman'">=B7=C7=B3=A3=CF=E0=CB=C6=A3=AC=D4=DA=D0=ED=B6=E0=B2=D9=D7=F7=B5=C4=
=B5=D8=B7=BD=BF=C9=D2=D4=D6=B1=BD=D3=CC=E6=BB=BB=A1=A3=BC=D9=C8=E7=B6=C1=D5=
=DF=D2=D1=BE=AD=C4=DC=B9=BB=D3=D0=D0=A7=B5=D8=CA=B9=D3=C3</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">vector</SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'">=C8=DD=C6=F7=A3=AC=CF=C2=C3=E6=CC=E1=B9=A9</SPAN><SPAN=20
lang=3DEN-US=20
style=3D"FONT-SIZE: 9pt; COLOR: #990000; FONT-FAMILY: =
Verdana; mso-font-kerning: 0pt">deque</SPAN><SPAN=20
style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New =
Roman'">=B5=C4=B3=C9=D4=B1=BA=AF=CA=FD=BA=CD=B2=D9=D7=F7=A3=AC=BD=F8=D0=D0=
=B6=D4=B1=C8=B2=CE=BF=BC=A1=A3</SPAN><SPAN=20
lang=3DEN-US style=3D"FONT-SIZE: 9pt"><o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><B=20
style=3D"mso-bidi-font-weight: normal"><SPAN lang=3DEN-US=20
style=3D"COLOR: #993300; mso-bidi-font-size: =
10.5pt"><o:p> </o:p></SPAN></B></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><B=20
style=3D"mso-bidi-font-weight: normal"><SPAN lang=3DEN-US=20
style=3D"COLOR: #993300; mso-bidi-font-size: =
10.5pt">Deque</SPAN></B><B=20
style=3D"mso-bidi-font-weight: normal"><SPAN=20
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -