123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #include <iostream>
- #include <iterator>
- #include "ra/ra.hh"
- #include "ra/test.hh"
- using std::cout, std::endl, std::flush;
- int main()
- {
- TestRecorder tr;
- tr.section("not driving, order I");
- {
- ra::Big<int, 2> a = {{1, 2}, {3, 4}, {5, 6}};
- auto x = concrete(ra::ptr(a.begin()) * ra::Small<int, 5> { 1, 2, 3, 4, 5 });
- cout << x << endl;
- auto y = concrete(ra::ptr(a.begin()) * ra::Small<int, 2, 3> { {1, 2, 3}, {4, 5, 6} });
- cout << y << endl;
- }
- return tr.summary();
- }
|