std::match_results::format
|
|
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. |
| template< class OutputIt > OutputIter format( OutputIt out, |
(1) | (a partir do C++ 11) |
| template< class OutputIt, class ST, class SA > OutputIter format( OutputIt out, |
(2) | (a partir do C++ 11) |
| template< class ST, class SA > std::basic_string<char_type,ST,SA> |
(3) | (a partir do C++ 11) |
| string_type format( const char_type* fmt_s, std::regex_constants::match_flag_type flags = |
(4) | (a partir do C++ 11) |
flags determinar qual especificadores de formato e sequências de escape são reconhecidos.flags determine which format specifiers and escape sequences are recognized.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.
[fmt_first, fmt_last) gama. A seqüência de caracteres resultante é copiado para out.[fmt_first, fmt_last). The resulting character sequence is copied to out.You can help to correct and verify the translation. Click here for instructions.
fmt. A seqüência de caracteres resultante é copiado para out.fmt. The resulting character sequence is copied to out.You can help to correct and verify the translation. Click here for instructions.
fmt e fmt_s respectivamente. A seqüência de caracteres resultante é copiado para uma string recém-construído, que é devolvido.fmt and fmt_s respectively. The resulting character sequence is copied to a newly constructed string, which is returned.You can help to correct and verify the translation. Click here for instructions.
Índice |
[editar] Parâmetros
| fmt_begin, fmt_end | - | ponteiros para um intervalo de caracteres que definem a sequência de caracteres de formato
Original: pointers to a range of characters defining the format character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||
| fmt | - | string que define a seqüência de caracteres de formato
Original: string defining the format character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||
| fmt_s | - | ponteiro para uma cadeia de caracteres terminada em nulo definindo a seqüência de caracteres de formato
Original: pointer to a null-terminated character string defining the format character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||
| out | - | iterador onde copiar a seqüência de caracteres resultante para
Original: iterator where to copy the resulting character sequence to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||
| flags | - | Tipo bitmask especificando especificadores que formato e sequências de escape são reconhecidos
Original: bitmask type specifying which format specifiers and escape sequences are recognized
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||
| Type requirements | ||||||
-OutputIt must meet the requirements of OutputIterator.
| ||||||
[editar] Valor de retorno
outYou can help to correct and verify the translation. Click here for instructions.
[editar] Exceções
You can help to correct and verify the translation. Click here for instructions.
[editar] Exemplo
| This section is incomplete Reason: no example |