File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -383,6 +383,16 @@ namespace std{
383
383
b = temp;
384
384
}
385
385
386
+ template<class ForwardIterator1, class ForwardIterator2> _UCXXEXPORT
387
+ void
388
+ iter_swap(ForwardIterator1 a, ForwardIterator2 b)
389
+ {
390
+ typename iterator_traits<ForwardIterator1>::value_type temp(*a);
391
+ *a = *b;
392
+ *b = temp;
393
+ }
394
+
395
+
386
396
template<class ForwardIterator1, class ForwardIterator2> _UCXXEXPORT
387
397
ForwardIterator2
388
398
swap_ranges(ForwardIterator1 first1, ForwardIterator1 last1, ForwardIterator2 first2)
@@ -396,16 +406,6 @@ namespace std{
396
406
}
397
407
398
408
399
- template<class ForwardIterator1, class ForwardIterator2> _UCXXEXPORT
400
- void
401
- iter_swap(ForwardIterator1 a, ForwardIterator2 b)
402
- {
403
- typename iterator_traits<ForwardIterator1>::value_type temp(*a);
404
- *a = *b;
405
- *b = temp;
406
- }
407
-
408
-
409
409
template<class InputIterator, class OutputIterator, class UnaryOperation> _UCXXEXPORT
410
410
OutputIterator
411
411
transform(InputIterator first, InputIterator last,
You can’t perform that action at this time.
0 commit comments