noXur/CppEx — Issue #3: wrong usage of the scope operator within the class declaration
Author: noXur
Created: 2011-11-07 00:20:53+00:00
State: open

[matrix.hpp][file]: lines 26 - 31
=======================
```C++
26 //Methods
27 void Matrix::accMat (float& val);
28 void Matrix::addMat (Matrix& mat2);
29 void Matrix::multMat (Matrix& mat2);
30 void Matrix::transMat ();
31 void Matrix::showMat();
```
The scope operator is only necessary to define the above-mentioned methods and **must not** used within the class declaration!

should be
========
```C++
26 //Methods
27 void accMat (float& val);
28 void addMat (Matrix& mat2);
29 void multMat (Matrix& mat2);
30 void transMat ();
31 void showMat();
```

[file]: https://github.com/noXur/CppEx/blob/mz/include/ex1/matrix.hpp#L26 "Issue File"