c1994惠普源码剖析-sgi relops.pdf
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: