1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
#include "array.hpp"

struct Test {
   Test(int i) : i(i) {
   }
   int i;
};

int main() {
   Array<Test> t(10, Test(42));
}