侯捷stl源码剖析注释之35 sgi-stl-multiset.pdf
上传人:qw****27 上传时间:2024-09-12 格式:PDF 页数:5 大小:1.7MB 金币:15 举报 版权申诉
预览加载中,请您耐心等待几秒...

侯捷stl源码剖析注释之35 sgi-stl-multiset.pdf

侯捷stl源码剖析注释之35sgi-stl-multiset.pdf

预览

在线预览结束,喜欢就下载吧,查找使用更方便

15 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

<stl_multiset.h>完整列表1G++2.91.57,cygnus\cygwin-b20\include\g++\stl_multiset.h完整列表/***Copyright(c)1994*Hewlett-PackardCompany**Permissiontouse,copy,modify,distributeandsellthissoftware*anditsdocumentationforanypurposeisherebygrantedwithoutfee,*providedthattheabovecopyrightnoticeappearinallcopiesand*thatboththatcopyrightnoticeandthispermissionnoticeappear*insupportingdocumentation.Hewlett-PackardCompanymakesno*representationsaboutthesuitabilityofthissoftwareforany*purpose.Itisprovided"asis"withoutexpressorimpliedwarranty.***Copyright(c)1996*SiliconGraphicsComputerSystems,Inc.**Permissiontouse,copy,modify,distributeandsellthissoftware*anditsdocumentationforanypurposeisherebygrantedwithoutfee,*providedthattheabovecopyrightnoticeappearinallcopiesand*thatboththatcopyrightnoticeandthispermissionnoticeappear*insupportingdocumentation.SiliconGraphicsmakesno*representationsaboutthesuitabilityofthissoftwareforany*purpose.Itisprovided"asis"withoutexpressorimpliedwarranty.*//*NOTE:Thisisaninternalheaderfile,includedbyotherSTLheaders.*Youshouldnotattempttouseitdirectly.*/#ifndef__SGI_STL_INTERNAL_MULTISET_H#define__SGI_STL_INTERNAL_MULTISET_H__STL_BEGIN_NAMESPACE#ifdefined(__sgi)&&!defined(__GNUC__)&&(_MIPS_SIM!=_MIPS_SIM_ABI32)#pragmasetwoff1174#endif#ifndef__STL_LIMITED_DEFAULT_TEMPLATEStemplate<classKey,classCompare=less<Key>,classAlloc=alloc>#elsetemplate<classKey,classCompare,classAlloc=alloc>#endifclassmultiset{public://typedefs:TheAnnotatedSTLSources2<stl_multiset.h>完整列表typedefKeykey_type;typedefKeyvalue_type;typedefComparekey_compare;typedefComparevalue_compare;private:typedefrb_tree<key_type,value_type,identity<value_type>,key_compare,Alloc>rep_type;rep_typet;//red-blacktreerepresentingmultisetpublic:typedeftypenamerep_type::const_pointerpointer;typedeftypenamerep_type::const_pointerconst_pointer;typedeftypenamerep_type::const_referencereference;typedeftypenamerep_type::const_referenceconst_reference;typ