std::char_traits::eq, std::char_traits::lt
Aus cppreference.com
< cpp | string | char traits
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
bool eq( CharT a, CharT b ); |
(1) | (bis C + +11) |
constexpr bool eq( CharT a, CharT b ); |
(1) | (seit C++11) |
bool lt( CharT a, CharT b ); |
(2) | (bis C + +11) |
constexpr bool lt( CharT a, CharT b ); |
(2) | (seit C++11) |
Vergleicht zwei Zeichen .
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.
You can help to correct and verify the translation. Click here for instructions.
1)
Vergleicht
a
und b
für die Gleichstellung .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.
You can help to correct and verify the translation. Click here for instructions.
2)
Vergleicht und
a
b
derart, daß sie total geordnet sind .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.
You can help to correct and verify the translation. Click here for instructions.
Inhaltsverzeichnis |
[Bearbeiten] Parameter
a, b | - | Zeichen-Werte zu vergleichen
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. |
[Bearbeiten] Rückgabewert
1)
true wenn
a
und b
gleich sind, false sonst .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.
You can help to correct and verify the translation. Click here for instructions.
2)
true wenn
a
ist weniger als b
, false sonst .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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Ausnahmen
[Bearbeiten] Komplexität
Constant .
Original:
Constant.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.