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) | (начиная с C++11) |
| template< class OutputIt, class ST, class SA > OutputIter format( OutputIt out, |
(2) | (начиная с C++11) |
| template< class ST, class SA > std::basic_string<char_type,ST,SA> |
(3) | (начиная с C++11) |
| string_type format( const char_type* fmt_s, std::regex_constants::match_flag_type flags = |
(4) | (начиная с C++11) |
flags определить, какие описатели формата и управляющие последовательности признаются.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). В результате последовательность символов копируется в 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. В результате последовательность символов копируется в out.fmt. The resulting character sequence is copied to out.You can help to correct and verify the translation. Click here for instructions.
fmt и fmt_s соответственно. В результате последовательность символов копируется в недавно построенном строку, которая возвращается.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.
Содержание |
[править] Параметры
| fmt_begin, fmt_end | - | указатели на диапазон символов, определяющая последовательность формате характер
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 | - | строка, определяющая последовательность формате характер
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 | - | Указатель на завершающуюся нулем строку символов определении последовательности формате характер
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 | - | Итератор куда копировать полученную последовательность символов в
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 | - | битовой маски типа указав, какие описатели формата и управляющие последовательности признается
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. | ||||
| Требования, накладываемые на типы | ||||||
-OutputIt должен соответствовать требованиям OutputIterator.
| ||||||
[править] Возвращаемое значение
outYou 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.
[править] Пример
| Этот раздел не завершён Причина: нет примера |