- Code: Select all
1
2
3
4
5
6
7
8
9
10
11int a1[] = { 1, 3, 5 };
int a2[] = { 2, 4, 6 };
disjoint_iterator it<int>(a1, a1 + 3,
a2, a2 + 3);
sort(it, it + 6);
// results:
// a1 == { 1, 2, 3 }
// a2 == { 4, 5, 6 }11 lines; 3 keywds; 9 nums; 31 ops; 0 strs; 3 coms Syntactic Coloring v0.4 - Dan East
Is there such a thing?
