29 std::size_t records_number = data_source.countRecords();
30 for (
std::size_t index = 0; index < records_number; ++index) {
31 sum += data_source.getRecordValue(index);
double sumRecords(const T &data_source)
Compute the sum of the values of the records stored into the provided DataSource. ...