@@ -73,23 +73,23 @@ namespace boost {
7373 store_type M ( FindResult, FormatResult, Formatter );
7474
7575 // Initialize last match
76- input_iterator_type LastMatch=begin (Input);
76+ input_iterator_type LastMatch=:: boost:: begin (Input);
7777
7878 // Iterate through all matches
7979 while ( M )
8080 {
8181 // Copy the beginning of the sequence
8282 std::copy ( LastMatch, M.begin (), Output );
8383 // Copy formated result
84- std::copy ( begin (M.format_result ()), end (M.format_result ()), Output );
84+ std::copy ( :: boost:: begin (M.format_result ()), :: boost:: end (M.format_result ()), Output );
8585
8686 // Proceed to the next match
8787 LastMatch=M.end ();
88- M=Finder ( LastMatch, end (Input) );
88+ M=Finder ( LastMatch, :: boost:: end (Input) );
8989 }
9090
9191 // Copy the rest of the sequence
92- std::copy ( LastMatch, end (Input), Output );
92+ std::copy ( LastMatch, :: boost:: end (Input), Output );
9393
9494 return Output;
9595 }
@@ -140,7 +140,7 @@ namespace boost {
140140 store_type M ( FindResult, FormatResult, Formatter );
141141
142142 // Initialize last match
143- input_iterator_type LastMatch=begin (Input);
143+ input_iterator_type LastMatch=:: boost:: begin (Input);
144144
145145 // Output temporary
146146 InputT Output;
@@ -149,17 +149,17 @@ namespace boost {
149149 while ( M )
150150 {
151151 // Copy the beginning of the sequence
152- insert ( Output, end (Output), LastMatch, M.begin () );
152+ insert ( Output, :: boost:: end (Output), LastMatch, M.begin () );
153153 // Copy formated result
154- insert ( Output, end (Output), M.format_result () );
154+ insert ( Output, :: boost:: end (Output), M.format_result () );
155155
156156 // Proceed to the next match
157157 LastMatch=M.end ();
158- M=Finder ( LastMatch, end (Input) );
158+ M=Finder ( LastMatch, :: boost:: end (Input) );
159159 }
160160
161161 // Copy the rest of the sequence
162- insert ( Output, end (Output), LastMatch, end (Input) );
162+ insert ( Output, :: boost:: end (Output), LastMatch, :: boost:: end (Input) );
163163
164164 return Output;
165165 }
@@ -213,8 +213,8 @@ namespace boost {
213213 BOOST_STRING_TYPENAME range_value<InputT>::type> Storage;
214214
215215 // Initialize replacement iterators
216- input_iterator_type InsertIt=begin (Input);
217- input_iterator_type SearchIt=begin (Input);
216+ input_iterator_type InsertIt=:: boost:: begin (Input);
217+ input_iterator_type SearchIt=:: boost:: begin (Input);
218218
219219 while ( M )
220220 {
@@ -233,7 +233,7 @@ namespace boost {
233233 copy_to_storage ( Storage, M.format_result () );
234234
235235 // Find range for a next match
236- M=Finder ( SearchIt, end (Input) );
236+ M=Finder ( SearchIt, :: boost:: end (Input) );
237237 }
238238
239239 // process the last segment
@@ -242,17 +242,17 @@ namespace boost {
242242 Input,
243243 InsertIt,
244244 SearchIt,
245- end (Input) );
245+ ::boost:: end (Input) );
246246
247247 if ( Storage.empty () )
248248 {
249249 // Truncate input
250- erase ( Input, InsertIt, end (Input) );
250+ erase ( Input, InsertIt, :: boost:: end (Input) );
251251 }
252252 else
253253 {
254254 // Copy remaining data to the end of input
255- insert ( Input, end (Input), Storage.begin (), Storage.end () );
255+ insert ( Input, :: boost:: end (Input), Storage.begin (), Storage.end () );
256256 }
257257 }
258258
0 commit comments