operator<

< 運算子會判定第一個物件是否小於第二個物件。

可見性
Public
簽章
int operator<(const OMString& s) const

int operator<(const char * c2) const

inline int operator<(const char * c, const OMString& s)
簽章 1 的參數

要與現行字串相比較的字串

簽章 2 的參數
c2

要與現行字元相比較的字元

簽章 3 的參數
c

要與指定字串相比較的字元

要與指定字元相比較的字串

傳回

此方法會傳回下列其中一項值:


意見回饋