File indexing completed on 2025-12-16 10:08:38
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #ifndef BOOST_REGEX_V5_REGEX_MERGE_HPP
0022 #define BOOST_REGEX_V5_REGEX_MERGE_HPP
0023
0024
0025 namespace boost{
0026
0027 template <class OutputIterator, class Iterator, class traits, class charT>
0028 inline OutputIterator regex_merge(OutputIterator out,
0029 Iterator first,
0030 Iterator last,
0031 const basic_regex<charT, traits>& e,
0032 const charT* fmt,
0033 match_flag_type flags = match_default)
0034 {
0035 return regex_replace(out, first, last, e, fmt, flags);
0036 }
0037
0038 template <class OutputIterator, class Iterator, class traits, class charT>
0039 inline OutputIterator regex_merge(OutputIterator out,
0040 Iterator first,
0041 Iterator last,
0042 const basic_regex<charT, traits>& e,
0043 const std::basic_string<charT>& fmt,
0044 match_flag_type flags = match_default)
0045 {
0046 return regex_merge(out, first, last, e, fmt.c_str(), flags);
0047 }
0048
0049 template <class traits, class charT>
0050 inline std::basic_string<charT> regex_merge(const std::basic_string<charT>& s,
0051 const basic_regex<charT, traits>& e,
0052 const charT* fmt,
0053 match_flag_type flags = match_default)
0054 {
0055 return regex_replace(s, e, fmt, flags);
0056 }
0057
0058 template <class traits, class charT>
0059 inline std::basic_string<charT> regex_merge(const std::basic_string<charT>& s,
0060 const basic_regex<charT, traits>& e,
0061 const std::basic_string<charT>& fmt,
0062 match_flag_type flags = match_default)
0063 {
0064 return regex_replace(s, e, fmt, flags);
0065 }
0066
0067 }
0068
0069 #endif
0070
0071