Espaces de noms
Variantes

std::regex_traits::value

De cppreference.com

<metanoindex/>

 
 
Regular expressions bibliothèque
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex (C++11)
sub_match (C++11)
match_results (C++11)
Algorithmes
Original:
Algorithms
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_match (C++11)
regex_search (C++11)
regex_replace (C++11)
Les itérateurs
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_iterator (C++11)
regex_token_iterator (C++11)
Exceptions
Original:
Exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_error (C++11)
Traits
Original:
Traits
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_traits (C++11)
Constantes
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
syntax_option_type (C++11)
match_flag_type (C++11)
error_type (C++11)
 
 
<tbody> </tbody>
int value( CharT ch, int radix ) const;
Détermine la valeur représentée par le ch chiffres dans le radix base numérique, compte tenu de la locale courante imprégné .
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.

Paramètres

ch -
le caractère qui peut représenter un chiffre
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 -
soit 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.

Retourne la valeur

La valeur numérique si ch représente en effet un chiffre dans la locale courante imprégnée qui est valable pour l'radix base numérique, ou en cas d'erreur -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.

Exemple