Espacios de nombres
Variantes
Acciones

std::regex_traits::value

De cppreference.com
< cpp‎ | regex‎ | regex traits
 
 
Biblioteca de expresiones regulares
Clases
(C++11)
Algoritmos
Iteradores
Excepciones
Rasgos
Constantes
(C++11)
Gramática de las expresiones regulares
 
 
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.

[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.

[editar] Ejemplo