member function · 4 overloads
std::match_results::format
- Header
<regex>- Draft
- [re.results.general]
- Scope
std::match_results- cppreference
- std::match_results::format
Overloads
- (1)
string_type format( const char_type* fmt, regex_constants::match_flag_type flags = regex_constants::format_default) const; - (2)
template<class ST, class SA> basic_string<char_type, ST, SA> format( const basic_string<char_type, ST, SA>& fmt, regex_constants::match_flag_type flags = regex_constants::format_default) const; - (3)
template<class OutputIter, class ST, class SA> OutputIter format( OutputIter out, const basic_string<char_type, ST, SA>& fmt, regex_constants::match_flag_type flags = regex_constants::format_default) const; - (4)
template<class OutputIter> OutputIter format( OutputIter out, const char_type* fmt_first, const char_type* fmt_last, regex_constants::match_flag_type flags = regex_constants::format_default) const;