== 運算子是 OMString 用來判定兩個物件是否相等的比較函數。
Public
int operator==(const OMString& s2) const
int operator==(const char * c2) const
inline int operator==(const char * c1,
const OMString& s2)
s2
要與現行字串相比較的字串
c2
要與現行字元相比較的字元
c1
要與指定字串相比較的字元
s2
要與指定字元相比較的字串
此方法會傳回下列其中一項值: