std::regex_traits::value
De 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; |
||
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.
[editar] 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. |
[editar] 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.
[editar] Ejemplo
This section is incomplete Reason: no example |