public static member function
<string>
static bool lt (const char_type& c, const char_type& d);
static constexpr bool lt (char_type c, char_type d) noexcept;
Compare characters for inequality
Returns whether character c is considered less than character d (i.e., whether c goes before d when ordered).
在
char_traits 的標準特化中,此函式的行為與內建的行為相同
operator<for type
unsigned char.
引數
- c, d
- Character values.
成員型別char_type是字元型別(即,char_traits 中的類模板引數)。
返回值
trueif c is considered less than d.
異常安全
No-throw guarantee: this member function never throws exceptions in any of the standard specializations.