Implemented a counter within Item_sum_sum
The counter keeps track of the number of items added to the sum function. It is increased when we add a value to the sum function and decreased when it is removed.
Showing
Please register or sign in to comment