std::regex_traits::value
Da 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 o valor representado pelo
ch
dígito no radix
base numérica, dada a localidade atualmente imbuído.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 | - | o personagem que pode representar um 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 | - | ou 8, 10 ou 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
O valor numérico se
ch
de fato representa um dígito na localidade atualmente imbuída que é válido para o radix
base numérica, ou -1 em erro.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]Exemplo
Esta seção está incompleta Motivo: sem exemplo |