add cast<newtype>() function to casts the scalars to another type.

This commit is contained in:
Benoit Jacob
2007-10-19 14:46:08 +00:00
parent d6f26dc8eb
commit 49c78643da
6 changed files with 77 additions and 3 deletions

View File

@@ -28,7 +28,7 @@
template<typename _Scalar, int _Rows, int _Cols>
class Matrix : public Object<_Scalar, Matrix<_Scalar, _Rows, _Cols> >,
public MatrixStorage<_Scalar, _Rows, _Cols>
public MatrixStorage<_Scalar, _Rows, _Cols>
{
public:
friend class Object<_Scalar, Matrix>;