| 11 | { |
| 12 | public: |
| 13 | DynArray2D(int n, int m) |
| 14 | { |
| 15 | _n = n; |
| 16 | _array = new T *[n]; |
| 17 | for (int i = 0; i < n; i++) { |
| 18 | _array[i] = new T[m]; |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | void setValue(int n, int m, T v) { _array[n][m] = v; } |
| 23 |
nothing calls this directly
no outgoing calls
no test coverage detected