文档详情

c1994惠普源码剖析-sgi relops.pdf

发布:2025-03-21约3.08千字共3页下载文档
文本预览下载声明

G++2.91.57,cygnus\cygwin-b20\include\g++\stl_relops.h完整列表

/*

*

*Copyright(c)1994

*Hewlett-PackardCompany

*

*Permissiontouse,copy,modify,distributeandsellthissoftware

*anditsdocumentationforanypurposeisherebygrantedwithout

fee,

*providedthattheabovecopyrightnoticeappearinallcopiesand

*thatboththatcopyrightnoticeandthispermissionnoticeappear

*insupportingdocumentation.Hewlett-PackardCompanymakesno

*representationsaboutthesuitabilityofthissoftwareforany

*purpose.Itisprovidedasiswithoutexpressorimplied

warranty.

*

*Copyright(c)1996,1997

*SiliconGraphics

*

*Permissiontouse,copy,modify,distributeandsellthissoftware

*anditsdocumentationforanypurposeisherebygrantedwithout

fee,

*providedthattheabovecopyrightnoticeappearinallcopiesand

*thatboththatcopyrightnoticeandthispermissionnoticeappear

*insupportingdocumentation.SiliconGraphicsmakesno

*representationsaboutthesuitabilityofthissoftwareforany

*purpose.Itisprovidedasiswithoutexpressorimplied

warranty.

*

*/

/*NOTE:Thisisaninternalheaderfile,includedbyotherSTL

headers.

*Youshouldnotattempttouseitdirectly.

*/

#ifndef__SGI_STL_INTERNAL_RELOPS

#define__SGI_STL_INTERNAL_RELOPS

__STL_BEGIN_RELOPS_NAMESPACE

templateclassT

inlinebooloperator!=(constTx,constTy){

return!(xy);

}

templateclassT

inlinebooloperator(constTx,constTy){

returnyx;

}

templateclassT

inlinebooloperator=(constTx,constTy){

return!(yx);

}

templateclassT

inlinebooloperator=(constTx,constTy){

return!(xy);

}

__STL_END_RELOPS_NAMESPACE

#endif/*__SGI_STL_INTERNAL_RELOPS*/

//LocalVariables:

//mode:C++

//End:

显示全部
相似文档