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; |
(desde C++11) | |
Retorna o comprimento da sub-match especificado.
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.
Se
n == 0, o comprimento de toda a expressão correspondente é retornado.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.
Se
n > 0 && n < size(), o comprimento de n th fósforo sub-é retornado.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.
se
n >= size(), um comprimento da partida incomparável é retornado.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.
A chamada é equivalente a
(*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.
Parâmetros
| n | - | número inteiro especificando que corresponde a examinar
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. |
Valor de retorno
O comprimento do fósforo ou fósforo-especificado sub.
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.
Veja também
retornos especificados sub-jogo 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. (função pública membro) | |
retorna o comprimento da partida (se houver) 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. (of std::sub_match função pública membro)
| |