diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-08-03 17:39:59 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-08-03 17:39:59 +0200 |
commit | 345480d2c0647a1a4bf8b7915d78155a261ea988 (patch) | |
tree | 7191575069fafd76796c839731314bf216c1c991 /a5/matrix.cc | |
parent | 034a5fddfb292f22659f293d72ceb576f5c61d82 (diff) |
A5: Final
Diffstat (limited to 'a5/matrix.cc')
-rw-r--r-- | a5/matrix.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/a5/matrix.cc b/a5/matrix.cc index 4a34fa0..b76526c 100644 --- a/a5/matrix.cc +++ b/a5/matrix.cc @@ -3,6 +3,7 @@ #include "matrix.h" #include <iostream> +#include <string> template<typename T, std::size_t N, std::size_t M> std::ostream& operator<<(std::ostream& s, const Matrix<T,N,M>& m) @@ -224,4 +225,11 @@ int main() Matrix<Chess_piece, 2, 3> m2; test(m1, m2); } + + std::cout << "Matrix<std::sring, .., ..>:\n"; + { +// Matrix<std::string, 3, 2> m1; +// Matrix<std::string, 2, 3> m2; +// test(m1, m2); + } } |