std::match_results::length
De cppreference.com
|
|
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. |
<metanoindex/>
<tbody> </tbody> difference_type length( size_type n = 0 ) const; |
(depuis C++11) | |
Renvoie la longueur de la sous-spécifié match .
Original:
Returns the length of the specified sub-match.
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.
Si
n == 0, la longueur de l'expression entière identifié est retourné .Original:
If
n == 0, the length of the entire matched expression is returned.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.
Si
n > 0 && n < size(), la longueur de n' ième sous-correspondance est retourné .Original:
If
n > 0 && n < size(), the length of nth sub-match is returned.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.
si
n >= size(), d'une longueur inégalée du match est retourné .Original:
if
n >= size(), a length of the unmatched match is returned.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.
L'appel est équivalent à
(*this)[n].length() .Original:
The call is equivalent to
(*this)[n].length().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.
Paramètres
| n | - | nombre entier spécifiant qui correspondent à examiner
Original: integral number specifying which match to examine 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 longueur du match spécifiée ou sous-match .
Original:
The length of the specified match or sub-match.
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.
Voir aussi
rendement indiqués correspondent à des sous- Original: returns specified sub-match The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction membre publique) | |
retourne la longueur du match (le cas échéant) Original: returns the length of the match (if any) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction membre publique de std::sub_match)
| |