C++ (Qt)template <class T> struct CMatrixDynamic { CMatrixDynamic( int row, int col ); ... T * mData;}; template <class T, int kRow, int kCol> struct CMatrixStatic { ... T mData[kRow][kCol];};
C++ (Qt)Matrix<QVariant, N, M> matrix;
C++ (Qt)void CStaticMatrix<T>::Transpose( void );void CDynamicMatrix<T>::Transpose( void );