noXur/CppEx — Issue #2: critical getter and setter for OOP conventions
Author: noXur
Created: 2011-11-07 00:13:15+00:00
State: open

[matrix.hpp][file]: line 19 and 24
=========================
```C++
19 float *getBuffer() const;
.
.
.
24 void setBuffer(float *buffer);
```
**Leave them out!** How you store the matrix data is not important for the user of your class.
This only destroyes the idea behind the OOP system. Please, delete those lines.

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