| 1160 | |
| 1161 | template<typename forward_iterator> |
| 1162 | long long count_samples( |
| 1163 | forward_iterator ibegin, |
| 1164 | forward_iterator iend |
| 1165 | ) const |
| 1166 | { |
| 1167 | return std::accumulate(ibegin, iend, 0, |
| 1168 | [](long long a, const auto& b) { return a + b.num_samples(); }); |
| 1169 | } |
| 1170 | }; |
| 1171 | |
| 1172 | // ---------------------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected