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

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

?? associativecontainer.html

?? ISO_C++:C++_STL開發文檔
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<HTML><!--  -- Copyright (c) 1996-1999  -- Silicon Graphics Computer Systems, Inc.  --  -- Permission to use, copy, modify, distribute and sell this software  -- and its documentation for any purpose is hereby granted without fee,  -- provided that the above copyright notice appears in all copies and  -- that both that copyright notice and this permission notice appear  -- in supporting documentation.  Silicon Graphics makes no  -- representations about the suitability of this software for any  -- purpose.  It is provided "as is" without express or implied warranty.  --  -- Copyright (c) 1994  -- Hewlett-Packard Company  --  -- Permission to use, copy, modify, distribute and sell this software  -- and its documentation for any purpose is hereby granted without fee,  -- provided that the above copyright notice appears in all copies and  -- that both that copyright notice and this permission notice appear  -- in supporting documentation.  Hewlett-Packard Company makes no  -- representations about the suitability of this software for any  -- purpose.  It is provided "as is" without express or implied warranty.  --  --><Head><Title>Associative Container</Title><!-- Generated by htmldoc --></HEAD><BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b" 	ALINK="#ff0000"> <IMG SRC="CorpID.gif"      ALT="SGI" HEIGHT="43" WIDTH="151"> <!--end header--><BR Clear><H1>Associative 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>An Associative Container is a variable-sized <A href="Container.html">Container</A> thatsupports efficient retrieval of elements (values) based on keys.  Itsupports insertion and removal of elements, but differs from a<A href="Sequence.html">Sequence</A> in that it does not provide a mechanism for inserting anelement at a specific position. <A href="#1">[1]</A><P>As with all containers, the elements in an Associative Container areof type <tt>value_type</tt>.  Additionally, each element in an AssociativeContainer has a <i>key</i>, of type <tt>key_type</tt>.  In some AssociativeContainers, <A href="SimpleAssociativeContainer.html">Simple Associative Containers</A>, the <tt>value_type</tt> and<tt>key_type</tt> are the same: elements are their own keys.  In others, thekey is some specific part of the value.  Since elements are storedaccording to their keys, it is essential that the key associated witheach element is immutable.  In <A href="SimpleAssociativeContainer.html">Simple Associative Containers</A> thismeans that the elements themselves are immutable, while in other types of Associative Containers, such as <A href="PairAssociativeContainer.html">Pair Associative Containers</A>, the elements themselves are mutable butthe part of an element that is its key cannot be modified.  This meansthat an Associative Container's value type is not <A href="Assignable.html">Assignable</A>.<P>The fact that the value type of an Associative Container is not<A href="Assignable.html">Assignable</A> has an important consequence: associativecontainers cannot have mutable iterators.  This is simply becausea mutable iterator (as defined in the <A href="trivial.html">Trivial Iterator</A> requirements)must allow assignment.  That is, if <tt>i</tt> is a mutable iterator and <tt>t</tt> is an object of <tt>i</tt>'s value type, then <tt>*i = t</tt> must be a validexpression.  <P>In <A href="SimpleAssociativeContainer.html">Simple Associative Containers</A>, where the elements are the keys,the elements are completely immutable; the nested types <tt>iterator</tt> and<tt>const_iterator</tt> are therefore the same.  Other types of associativecontainers, however, do have mutable elements, and do provideiterators through which elements can be modified.  <A href="PairAssociativeContainer.html">Pair Associative Containers</A>, for example, have two differentnested types <tt>iterator</tt> and <tt>const_iterator</tt>.  Even in this case,<tt>iterator</tt> is not a mutable iterator: as explained above,it does not provide the expression <tt>*i = t</tt>.  It is, however, possibleto modify an element through such an iterator: if, for example, <tt>i</tt>is of type <tt><A href="Map.html">map</A>&lt;int, double&gt;</tt>, then <tt>(*i).second = 3</tt> is a validexpression.<P>In some associative containers, <A href="UniqueAssociativeContainer.html">Unique Associative Containers</A>,it is guaranteed that no two elements have the same key. <A href="#2">[2]</A>  In otherassociative containers, <A href="MultipleAssociativeContainer.html">Multiple Associative Containers</A>, multipleelements with the same key are permitted.<h3>Refinement of</h3><A href="ForwardContainer.html">Forward Container</A>, <A href="DefaultConstructible.html">Default Constructible</A><h3>Associated types</h3>One new type is introduced, in addition to the types defined in the<A href="ForwardContainer.html">Forward Container</A> requirements.<Table border><TR><TD VAlign=top>Key type</TD><TD VAlign=top><tt>X::key_type</tt></TD><TD VAlign=top>The type of the key associated with <tt>X::value_type</tt>.  Note that the   key type and value type might be the same.</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 Associative Container</TD></TR><TR><TD VAlign=top><tt>a</tt></TD><TD VAlign=top>Object of type <tt>X</tt></TD></TR><TR><TD VAlign=top><tt>t</tt></TD><TD VAlign=top>Object of type <tt>X::value_type</tt></TD></TR><TR><TD VAlign=top><tt>k</tt></TD><TD VAlign=top>Object of type <tt>X::key_type</tt></TD></TR><TR><TD VAlign=top><tt>p</tt>, <tt>q</tt></TD><TD VAlign=top>Object of type <tt>X::iterator</tt></TD></tr></table><h3>Definitions</h3>If <tt>a</tt> is an associative container, then <tt>p</tt> is a<i>valid iterator in a</i> if it is a valid iterator that is reachable from <tt>a.begin()</tt>.<P>If <tt>a</tt> is an associative container, then <tt>[p, q)</tt> is a <i>valid range in a</i>if <tt>[p, q)</tt> is a valid range and <tt>p</tt> is a valid iterator in <tt>a</tt>.<h3>Valid expressions</h3>In addition to the expressions defined in <A href="ForwardContainer.html">Forward Container</A>, thefollowing 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>Default constructor</TD><TD VAlign=top><pre>X()X a;</pre></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>&nbsp;</TD></TR><TR><TD VAlign=top>Erase key</TD><TD VAlign=top><tt>a.erase(k)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top><tt>size_type</tt></TD></TR><TR><TD VAlign=top>Erase element</TD><TD VAlign=top><tt>a.erase(p)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top><tt>void</tt></TD></TR><TR><TD VAlign=top>Erase range</TD><TD VAlign=top><tt>a.erase(p, q)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top><tt>void</tt></TD></TR><TR><TD VAlign=top>Clear</TD><TD VAlign=top><tt>a.clear()</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top><tt>void</tt></TD></TR><TR><TD VAlign=top>Find</TD><TD VAlign=top><tt>a.find(k)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top><tt>iterator</tt> if <tt>a</tt> is mutable, otherwise <tt>const_iterator</tt></TD></TR><TR><TD VAlign=top>Count</TD><TD VAlign=top><tt>a.count(k)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top><tt>size_type</tt></TD></TR><TR><TD VAlign=top>Equal range</TD><TD VAlign=top>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产综合一区二区 | 亚洲欧美视频在线观看| 中文字幕日本乱码精品影院| 一区二区三区国产精华| 国模一区二区三区白浆| 欧美专区日韩专区| 国产日韩欧美综合一区| 亚洲国产另类av| 成人激情小说乱人伦| 日韩一区二区三区精品视频| 亚洲免费观看高清完整版在线观看熊 | 日本不卡视频一二三区| 色婷婷一区二区三区四区| 久久亚洲春色中文字幕久久久| 日日夜夜免费精品视频| www.久久久久久久久| 26uuu亚洲| 精品一区二区三区视频在线观看| 欧美三级视频在线播放| 中文在线一区二区| 国产夫妻精品视频| 久久色在线视频| 奇米综合一区二区三区精品视频| 在线观看视频91| 一区二区在线观看av| 9色porny自拍视频一区二区| 久久网站热最新地址| 国内精品写真在线观看| 欧美一级片在线| 久久精品国产亚洲一区二区三区| 欧美日韩一区二区三区视频| 亚洲黄色小说网站| 在线精品视频一区二区三四| 亚洲伦理在线免费看| 91免费版在线| 一二三区精品视频| 欧洲生活片亚洲生活在线观看| 亚洲日本va在线观看| 99麻豆久久久国产精品免费优播| 欧美性猛交xxxx乱大交退制版 | 中文字幕成人av| 偷窥少妇高潮呻吟av久久免费| 国产美女精品一区二区三区| 色香蕉成人二区免费| 精品国产一区二区三区四区四| 日本亚洲最大的色成网站www| 韩国成人在线视频| 色综合久久中文综合久久牛| 亚洲日本电影在线| 欧美日韩国产另类一区| 蜜臀久久99精品久久久久久9| 欧美群妇大交群的观看方式| 午夜精品福利一区二区三区av | 日韩精品一区二区三区在线| 国产乱码精品1区2区3区| 国产精品毛片无遮挡高清| 91久久香蕉国产日韩欧美9色| 亚洲国产中文字幕| 欧美一级二级在线观看| 成人做爰69片免费看网站| 最新久久zyz资源站| 欧美私人免费视频| 国模娜娜一区二区三区| 国产精品美女久久久久久久久久久 | 欧美色国产精品| 美美哒免费高清在线观看视频一区二区 | 欧美日韩成人高清| 国产高清在线精品| 亚洲图片欧美视频| 久久综合网色—综合色88| 一本色道**综合亚洲精品蜜桃冫| 日韩激情中文字幕| 国产精品日产欧美久久久久| 欧美精品一二三四| 成人毛片老司机大片| 日本不卡视频一二三区| 亚洲视频免费看| 欧美本精品男人aⅴ天堂| 一区二区三区中文字幕精品精品| 日韩国产欧美在线观看| 欧美精品xxxxbbbb| 免费成人美女在线观看.| 日韩精品在线一区| 美女精品一区二区| 国产日本亚洲高清| 99精品视频一区二区| 一色桃子久久精品亚洲| 在线观看视频欧美| 日韩电影一区二区三区| 精品欧美黑人一区二区三区| 狠狠色2019综合网| 亚洲国产成人自拍| 日本韩国精品一区二区在线观看| 亚洲精品国产a久久久久久| 欧美色精品在线视频| 麻豆精品在线播放| 中文天堂在线一区| 欧美日韩亚洲丝袜制服| 另类的小说在线视频另类成人小视频在线| 日韩欧美一区二区视频| 国产成a人亚洲| 亚洲精品乱码久久久久久黑人| 欧美三级中文字幕| 国产成人av影院| 亚洲综合色自拍一区| 日韩一级高清毛片| 粗大黑人巨茎大战欧美成人| 亚洲图片一区二区| 日本一区二区不卡视频| 欧美午夜精品免费| 国产一区二区调教| 亚洲一区二区三区影院| 精品国产第一区二区三区观看体验| aaa欧美色吧激情视频| 青青草原综合久久大伊人精品优势 | 美女精品自拍一二三四| 亚洲欧洲无码一区二区三区| 欧美电影在线免费观看| 国产99久久久久| 日韩国产欧美在线观看| 国产精品免费免费| 日韩欧美精品三级| 欧美日韩中文另类| 99久久国产综合精品色伊| 日韩电影在线观看一区| 亚洲视频一区二区免费在线观看| 欧美成人午夜电影| 欧美视频在线一区二区三区 | 亚洲一区二区在线观看视频 | 色综合久久中文综合久久97| 寂寞少妇一区二区三区| 亚洲国产日产av| 亚洲日本在线视频观看| 国产三级欧美三级日产三级99 | 久久久久久毛片| 欧美一区二区三区日韩| 在线一区二区三区四区五区| 成人中文字幕电影| 九一久久久久久| 日韩经典中文字幕一区| 亚洲成人激情综合网| 亚洲精品videosex极品| 国产精品久久久久婷婷二区次| 精品久久一二三区| 538prom精品视频线放| 色88888久久久久久影院野外| 成人av午夜电影| 北岛玲一区二区三区四区| 国产成人福利片| 大白屁股一区二区视频| 成人夜色视频网站在线观看| 国产不卡高清在线观看视频| 国产精品一二三四区| 国内欧美视频一区二区 | 亚洲精品视频在线看| 亚洲天堂网中文字| 亚洲三级在线免费| 一区二区三区四区高清精品免费观看 | 不卡视频在线看| av资源网一区| 91婷婷韩国欧美一区二区| 91猫先生在线| 欧美日韩综合色| 欧美成人女星排行榜| 国产三级久久久| 亚洲免费成人av| 日日噜噜夜夜狠狠视频欧美人 | 成人动漫一区二区在线| av电影一区二区| 在线观看免费视频综合| 在线播放日韩导航| 久久天天做天天爱综合色| 国产精品每日更新| 亚洲成在人线免费| 久久国产精品72免费观看| 国产不卡免费视频| 91电影在线观看| 欧美tk—视频vk| 国产精品久久久久久久岛一牛影视| 中文字幕字幕中文在线中不卡视频| 亚洲免费三区一区二区| 毛片av中文字幕一区二区| 国产成人午夜99999| 色婷婷国产精品综合在线观看| 3atv一区二区三区| 国产精品理论片| 秋霞电影网一区二区| 成人免费毛片嘿嘿连载视频| 在线观看中文字幕不卡| 精品成人佐山爱一区二区| 亚洲色图在线看| 九九精品视频在线看| 91亚洲国产成人精品一区二三| 欧美人xxxx| 中文字幕一区二| 国精产品一区一区三区mba桃花 | 亚洲国产精品一区二区久久恐怖片 | 日本不卡中文字幕| 日韩欧美国产1| 国产呦精品一区二区三区网站|