]>
Commit | Line | Data |
---|---|---|
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 | } |