๐ Size of Array
Returns the size of the array.
๐ Syntaxโ
size_t size_of_array();
size_t size(); // Alias
๐ฎ Exampleโ
DataTomeMvAvg<int> intAverage(10);
DataTomeMvAvg<int> anotherAverage(4);
// Will return 10
intAverage.size();
// Will return 4
anotherAverage.size();
โฑ Complexityโ
Constant (O(1)).