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

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

?? associativecontainer.html

?? ISO_C++:C++_STL開發文檔
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<tt>a.equal_range(k)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top><tt>pair&lt;iterator, iterator&gt;</tt> if <tt>a</tt> is mutable, otherwise   <tt>pair&lt;const_iterator, const_iterator&gt;</tt>.</TD></tr></table><h3>Expression semantics</h3><Table border><TR><TH>Name</TH><TH>Expression</TH><TH>Precondition</TH><TH>Semantics</TH><TH>Postcondition</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>Creates an empty container.</TD><TD VAlign=top>The size of the container is <tt>0</tt>.</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>Destroys all elements whose key is the same as <tt>k</tt>, and removes   them from <tt>a</tt>. <A href="#2">[2]</A>  The return value is the number of elements that   were erased, <i>i.e.</i> the old value of <tt>a.count(k)</tt>.</TD><TD VAlign=top><tt>a.size()</tt> is decremented by <tt>a.count(k)</tt>.   <tt>a</tt> contains no elements with key <tt>k</tt>.  </TD></TR><TR><TD VAlign=top>Erase element</TD><TD VAlign=top><tt>a.erase(p)</tt></TD><TD VAlign=top><tt>p</tt> is a dereferenceable iterator in <tt>a</tt>.</TD><TD VAlign=top>Destroys the element pointed to by <tt>p</tt>, and removes it from <tt>a</tt>.</TD><TD VAlign=top><tt>a.size()</tt> is decremented by 1.</TD></TR><TR><TD VAlign=top>Erase range</TD><TD VAlign=top><tt>a.erase(p, q)</tt></TD><TD VAlign=top><tt>[p, q)</tt> is a valid range in <tt>a</tt>.</TD><TD VAlign=top>Destroys the elements in the range <tt>[p,q)</tt> and removes them from   <tt>a</tt>. </TD><TD VAlign=top><tt>a.size()</tt> is decremented by the distance from <tt>i</tt> to <tt>j</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>Equivalent to <tt>a.erase(a.begin(), a.end())</tt></TD><TD VAlign=top>&nbsp;</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>Returns an iterator pointing to an element whose key is the same   as <tt>k</tt>, or <tt>a.end()</tt> if no such element exists.</TD><TD VAlign=top>Either the return value is <tt>a.end()</tt>, or else the return value has   a key that is the same as <tt>k</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>Returns the number of elements in <tt>a</tt> whose keys are the same as <tt>k</tt>.</TD><TD VAlign=top>&nbsp;</TD></TR><TR><TD VAlign=top>Equal range</TD><TD VAlign=top><tt>a.equal_range(k)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Returns a pair <tt>P</tt> such that <tt>[P.first, P.second)</tt> is a range   containing all elements in <tt>a</tt> whose keys are the same as <tt>k</tt>. <A href="#3">[3]</A>   If no elements have the same key as <tt>k</tt>, the return value is an empty   range.</TD><TD VAlign=top>The distance between <tt>P.first</tt> and <tt>P.second</tt> is equal to   <tt>a.count(k)</tt>.  If <tt>p</tt> is a dereferenceable iterator in <tt>a</tt>, then   either <tt>p</tt> lies in the range <tt>[P.first, P.second)</tt>, or else   <tt>*p</tt> has a key that is not the same as <tt>k</tt>.</TD></tr></table><h3>Complexity guarantees</h3>Average complexity for erase key is at most <tt>O(log(size()) + count(k))</tt>.<P>Average complexity for erase element is constant time.<P>Average complexity for erase range is at most    <tt>O(log(size()) + N)</tt>, where <tt>N</tt> is the number of elements in the range.<P>Average complexity for count is at most <tt>O(log(size()) + count(k))</tt>.<P>Average complexity for find is at most logarithmic.<P>Average complexity for equal range is at most logarithmic.<h3>Invariants</h3><Table border><TR><TD VAlign=top>Contiguous storage</TD><TD VAlign=top>All elements with the same key are adjacent to each other.  That   is, if <tt>p</tt> and <tt>q</tt> are iterators that point to elements that have   the same key, and if <tt>p</tt> precedes <tt>q</tt>, then every element in the   range <tt>[p, q)</tt> has the same key as every other element.</TD></TR><TR><TD VAlign=top>Immutability of keys</TD><TD VAlign=top>Every element of an Associative Container has an immutable key.   Objects may be inserted and erased, but an element in an    Associative Container may not be modified in such a way as to change   its key.</TD></tr></table><h3>Models</h3><UL><LI><tt><A href="set.html">set</A></tt><LI><tt><A href="multiset.html">multiset</A></tt><LI><tt><A href="hash_set.html">hash_set</A></tt><LI><tt><A href="hash_multiset.html">hash_multiset</A></tt><LI><tt><A href="Map.html">map</A></tt><LI><tt><A href="Multimap.html">multimap</A></tt><LI><tt><A href="hash_map.html">hash_map</A></tt><LI><tt><A href="hash_multimap.html">hash_multimap</A></tt></UL><h3>Notes</h3><P><A name="1">[1]</A>The reason there is no such mechanism is that the way in whichelements are arranged in an associative container is typically a classinvariant; elements in a <A href="SortedAssociativeContainer.html">Sorted Associative Container</A>, forexample, are always stored in ascending order, and elements in a <A href="HashedAssociativeContainer.html">Hashed Associative Container</A> are always stored according to thehash function.  It would make no sense to allow the position of anelement to be chosen arbitrarily.<P><A name="2">[2]</A>Keys are not required to be <A href="EqualityComparable.html">Equality Comparable</A>: associativecontainers do not necessarily use <tt>operator==</tt> to determine whether twokeys are the same.  In <A href="SortedAssociativeContainer.html">Sorted Associative Containers</A>, for example,where keys are ordered by a comparison function, two keys are consideredto be the same if neither one is less than the other.<P><A name="3">[3]</A>Note the implications of this member function: it means that iftwo elements have the same key, there must be no elements withdifferent keys in between them.  The requirement that elements withthe same key be stored contiguously is an associative containerinvariant.<h3>See also</h3><A href="SimpleAssociativeContainer.html">Simple Associative Container</A>, <A href="PairAssociativeContainer.html">Pair Associative Container</A>,<A href="UniqueAssociativeContainer.html">Unique Associative Container</A>, <A href="MultipleAssociativeContainer.html">Multiple Associative Container</A>,<A href="SortedAssociativeContainer.html">Sorted Associative Container</A>, <A href="UniqueSortedAssociativeContainer.html">Unique Sorted Associative Container</A>, <A href="MultipleSortedAssociativeContainer.html">Multiple Sorted Associative Container</A>,<A href="HashedAssociativeContainer.html">Hashed Associative Container</A>,<A href="UniqueHashedAssociativeContainer.html">Unique Hashed Associative Container</A>, <A href="MultipleHashedAssociativeContainer.html">Multiple Hashed Associative Container</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一区二区三区免费野_久草精品视频
亚洲桃色在线一区| 欧美中文字幕一区二区三区亚洲| 中文字幕在线一区| 欧美日韩国产三级| 国产成人自拍在线| 一区二区三区.www| 五月激情综合婷婷| 久久精品视频一区二区| 666欧美在线视频| eeuss影院一区二区三区| 日韩激情视频网站| 中文字幕第一区二区| 日韩免费高清视频| 欧美一区二区在线看| 日韩一区在线免费观看| 亚洲精品一区二区三区福利| 欧美日韩一区二区三区在线看| 国产成人亚洲综合a∨猫咪| 日韩高清不卡一区二区三区| 怡红院av一区二区三区| 欧美韩国日本不卡| 精品国产一区二区三区av性色| 欧美精品第1页| 在线免费观看日本欧美| 成人av一区二区三区| 国产美女视频一区| 另类小说综合欧美亚洲| 婷婷六月综合亚洲| 亚洲综合在线视频| 亚洲视频在线观看三级| 国产在线精品一区在线观看麻豆| 久久先锋影音av鲁色资源网| 欧美精品一二三四| 欧美色精品在线视频| 色噜噜狠狠色综合欧洲selulu| 91免费版在线| 中文字幕日韩精品一区| 久久婷婷国产综合精品青草| 精品99久久久久久| 日韩免费电影网站| 日韩欧美第一区| 日韩一区二区三区三四区视频在线观看| 在线中文字幕不卡| 欧美亚洲一区三区| 欧美理论在线播放| 在线播放亚洲一区| 欧美一级夜夜爽| 日韩精品一区二区三区视频| 国产精品99久久久久| 国产麻豆日韩欧美久久| 国产成人在线视频免费播放| 国产成人精品一区二| 成人天堂资源www在线| 99re这里都是精品| 日本道精品一区二区三区| 欧美视频在线观看一区| 69p69国产精品| 欧美tk—视频vk| 久久久99精品久久| 国产精品美女久久久久久2018| 成人午夜av在线| 日韩av不卡一区二区| 九九视频精品免费| 国产91精品在线观看| 99精品久久免费看蜜臀剧情介绍| 欧美自拍丝袜亚洲| 91精品国产综合久久久久久久久久| 久久综合色播五月| 国产精品伦理在线| 国产精品亚洲一区二区三区在线 | 欧美在线短视频| 欧美色国产精品| 欧美成人三级电影在线| 欧美激情一区二区三区蜜桃视频 | 国产精品妹子av| 亚洲嫩草精品久久| 日韩av中文在线观看| 国产剧情一区二区三区| 在线亚洲一区二区| 日韩免费高清av| 亚洲欧美成人一区二区三区| 日本少妇一区二区| 成人av在线影院| 欧美一区二区私人影院日本| 国产精品黄色在线观看| 午夜视频在线观看一区| 国产永久精品大片wwwapp| 99国产欧美久久久精品| 欧美嫩在线观看| 日本一区二区视频在线| 亚洲午夜久久久久久久久久久| 久久精品国产99久久6| 91麻豆国产精品久久| 欧美岛国在线观看| 亚洲精品乱码久久久久| 国产自产2019最新不卡| 欧美日韩视频第一区| 中文字幕乱码一区二区免费| 日本欧美在线看| 亚欧色一区w666天堂| 成人av网站免费观看| 欧美一区二区三区视频免费 | 天堂一区二区在线免费观看| 成人精品小蝌蚪| 欧美www视频| 亚洲国产成人高清精品| 成人丝袜高跟foot| 精品国产制服丝袜高跟| 亚洲超碰精品一区二区| 99精品视频一区| 久久久精品欧美丰满| 日产国产欧美视频一区精品| 色噜噜狠狠色综合中国| 中文字幕乱码久久午夜不卡| 免费欧美高清视频| 欧美四级电影网| 亚洲三级电影网站| 成人自拍视频在线观看| 久久婷婷成人综合色| 看片的网站亚洲| 91麻豆精品国产自产在线| 亚洲精品免费在线播放| av在线播放一区二区三区| 国产无一区二区| 国产一二精品视频| 精品久久久久久久久久久院品网| 日本不卡高清视频| 欧美伦理影视网| 无吗不卡中文字幕| 欧美亚洲一区二区在线| 亚洲午夜电影在线观看| 欧美在线观看禁18| 国产呦精品一区二区三区网站| 精品一区二区三区日韩| 日韩欧美国产1| 久久机这里只有精品| 日韩精品一区二区三区三区免费| 日本aⅴ免费视频一区二区三区| 欧美日韩午夜在线| 午夜亚洲福利老司机| 91精品国产高清一区二区三区蜜臀 | 国产一区二区剧情av在线| 精品精品国产高清a毛片牛牛 | 久久久噜噜噜久噜久久综合| 激情五月激情综合网| 久久综合色播五月| 不卡一二三区首页| **性色生活片久久毛片| 91猫先生在线| 亚洲成人1区2区| 91精品国产一区二区三区香蕉| 日本午夜一区二区| 久久五月婷婷丁香社区| 成人深夜福利app| 亚洲天堂精品在线观看| 在线观看免费一区| 日本vs亚洲vs韩国一区三区二区| 精品国产sm最大网站免费看| 国产精品1区2区3区| 中文字幕一区三区| 欧美日韩亚洲综合在线 | 色一区在线观看| 亚洲一区二区三区四区不卡| 欧美日韩视频专区在线播放| 老司机精品视频一区二区三区| 久久久欧美精品sm网站| a在线播放不卡| 午夜电影网一区| www欧美成人18+| 99国产精品久| 日韩高清在线不卡| 久久久777精品电影网影网| 97精品国产97久久久久久久久久久久| 亚洲一区二区偷拍精品| 日韩三级伦理片妻子的秘密按摩| 国产成人免费av在线| 亚洲综合视频网| 26uuu亚洲综合色欧美| 99r精品视频| 免费成人深夜小野草| 欧美国产欧美亚州国产日韩mv天天看完整 | 88在线观看91蜜桃国自产| 国产精品正在播放| 亚洲午夜激情av| 国产嫩草影院久久久久| 欧美午夜精品久久久久久孕妇| 国产一区二区三区免费在线观看| 亚洲欧洲日产国码二区| 欧美一二三区精品| 91小视频免费观看| 裸体歌舞表演一区二区| 亚洲六月丁香色婷婷综合久久| 欧美一区二区成人| 91丨九色丨黑人外教| 亚洲激情男女视频| 26uuu亚洲| 欧美三级中文字幕在线观看| 国产精品一级片| 日韩精品亚洲一区二区三区免费| 国产精品热久久久久夜色精品三区|