名前空間
変種
操作

std::char_traits::eq, std::char_traits::lt

提供: cppreference.com
< cpp‎ | string‎ | char traits

 
 
ストリングスライブラリ
NULLで終わる文字列
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
バイト文字列
文字列をマルチバイト
ワイド文字列
クラス
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string
char_traits
 
std::char_traits
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
char_traits::assign
char_traits::cmp
char_traits::move
char_traits::copy
char_traits::compare
char_traits::length
char_traits::find
char_traits::to_char_type
char_traits::to_int_type
char_traits::eq_int_type
char_traits::eof
char_traits::not_eof
 
bool eq( CharT a, CharT b );
(1) (C++11以前)
constexpr bool eq( CharT a, CharT b );
(1) (C++11およびそれ以降)
bool lt( CharT a, CharT b );
(2) (C++11以前)
constexpr bool lt( CharT a, CharT b );
(2) (C++11およびそれ以降)
2文字を比較.
Original:
Compares two characters.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
平等のためのabを比較.
Original:
Compares a and b for equality.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
彼らは完全に順序付けされるような方法でabを比較.
Original:
Compares a and b in such a way that they are totally ordered.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

[編集] パラメータ

a, b -
文字値と比較する
Original:
character values to compare
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

1)
trueaいただくとb等しい、falseその他のとき.
Original:
true if a and b are equal, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
true場合aです'より少ないbfalseその他のとき.
Original:
true if a is less than b, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 例外

noexcept specification:  
noexcept
  (C++11およびそれ以降)

[編集] 複雑

定数.
Original:
Constant.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.