Home | History | Annotate | Download | only in snippets
      1 int array[12];
      2 for(int i = 0; i < 12; ++i) array[i] = i;
      3 cout << Map<VectorXi, 0, InnerStride<2> >
      4          (array, 6) // the inner stride has already been passed as template parameter
      5      << endl;
      6