]> git.wh0rd.org Git - ICEs.git/blob - 201605/ice.ii.1
more
[ICEs.git] / 201605 / ice.ii.1
1 namespace schultz {
2         template < typename T > struct type_traits {
3         };
4          template < typename I > inline void reverse(I a, I b) {
5                 while (a != b) {
6                         --b;
7                         if (a == b)
8                                 break;
9                         ++a;
10 }}} using namespace schultz;
11 int A[1000000];
12 void dosch()
13 {
14         reverse(A, A + 1000000);
15 }