libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ format() [1/5]

template<typename _Bi_iter, typename _Alloc = allocator<sub_match<_Bi_iter> >>
template<typename _Out_iter, typename _St, typename _Sa>
_Out_iter std::match_results< _Bi_iter, _Alloc >::format ( _Out_iter __out,
const basic_string< char_type, _St, _Sa > & __fmt,
match_flag_type __flags = regex_constants::format_default ) const
inline
Precondition
ready() == true

Definition at line 2063 of file regex.h.

2065 {
2066 return format(__out, __fmt.data(), __fmt.data() + __fmt.size(),
2067 __flags);
2068 }
size_type size() const noexcept
Gets the number of matches and submatches.
Definition regex.h:1896
_Out_iter format(_Out_iter __out, const char_type *__fmt_first, const char_type *__fmt_last, match_flag_type __flags=regex_constants::format_default) const
The results of a match or search operation.
Definition regex.h:1772
constexpr _Tp * data() noexcept