PR 574: use variadic template instead of initializer_list to implement fixed-size vector ctor from coefficients.

This commit is contained in:
David Tellenbach
2019-01-23 00:07:19 +01:00
parent bd6dadcda8
commit 237b03b372
8 changed files with 55 additions and 48 deletions

View File

@@ -0,0 +1,3 @@
Matrix<int, 1, 6> a(1, 2, 3, 4, 5, 6);
Matrix<int, 3, 1> b {1, 2, 3};
cout << a << "\n\n" << b << endl;