Ticket #7346: find_format.diff
File find_format.diff, 2.0 KB (added by , 10 years ago) |
---|
-
boost/algorithm/string/detail/find_format.hpp
118 118 119 119 InputT Output; 120 120 // Copy the beginning of the sequence 121 insert( Output, ::boost::end(Output), ::boost::begin(Input), M.begin() );121 ::boost::algorithm::detail::insert( Output, ::boost::end(Output), ::boost::begin(Input), M.begin() ); 122 122 // Copy formated result 123 insert( Output, ::boost::end(Output), M.format_result() );123 ::boost::algorithm::detail::insert( Output, ::boost::end(Output), M.format_result() ); 124 124 // Copy the rest of the sequence 125 insert( Output, ::boost::end(Output), M.end(), ::boost::end(Input) );125 ::boost::algorithm::detail::insert( Output, ::boost::end(Output), M.end(), ::boost::end(Input) ); 126 126 127 127 return Output; 128 128 } -
boost/algorithm/string/detail/find_format_all.hpp
134 134 while( M ) 135 135 { 136 136 // Copy the beginning of the sequence 137 insert( Output, ::boost::end(Output), LastMatch, M.begin() );137 ::boost::algorithm::detail::insert( Output, ::boost::end(Output), LastMatch, M.begin() ); 138 138 // Copy formated result 139 insert( Output, ::boost::end(Output), M.format_result() );139 ::boost::algorithm::detail::insert( Output, ::boost::end(Output), M.format_result() ); 140 140 141 141 // Proceed to the next match 142 142 LastMatch=M.end();