MCPcopy Create free account
hub / github.com/QtExcel/QXlsx / DynArray2D

Method DynArray2D

HelloAndroid/DynArray2D.h:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11{
12public:
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected