std::regex_traits::value
Aus cppreference.com
< cpp | regex | regex 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. |
int value( CharT ch, int radix ) const; |
||
Bestimmt den Wert der Ziffer
ch
in der numerische Basis radix
angesichts der derzeit durchdrungen locale vertreten .Original:
Determines the value represented by the digit
ch
in the numeric base radix
, given the currently imbued locale.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] Parameter
ch | - | das Zeichen, das eine Ziffer darstellen können
Original: the character that may represent a digit The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
radix | - | entweder 8, 10, oder 16 ist
Original: either 8, 10, or 16 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
Der numerische Wert, wenn
ch
stellt in der Tat eine Ziffer in der derzeit durchdrungen Locale, die für die numerische Basis radix
oder -1 auf Fehler ist .Original:
The numeric value if
ch
indeed represents a digit in the currently imbued locale that is valid for the numeric base radix
, or -1 on error.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] Beispiel
This section is incomplete Reason: no example |