std::regex_traits::value
De cppreference.com
< cpp | regex | regex traits
![]() |
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
int value( CharT ch, int radix ) const; |
||
Determina el valor representado por el
ch
dígito en el radix
base numérica, teniendo en cuenta la configuración regional seleccionada imbuido .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.
Parámetros
ch | - | el carácter que puede representar un dígito
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 | - | o bien 8, 10, o 16
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. |
Valor de retorno
El valor numérico si
ch
hecho representa un dígito en el lugar que actualmente imbuidos es válida para el radix
base numérica, o en caso de error -1 .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.
Ejemplo
Esta sección está incompleta Razón: sin ejemplo |