
17 Feb
2007
17 Feb
'07
6:31 a.m.
One problem I see with this is: how does the tracked_var know when to record the current value if it does not change? Do I need to do
v += 0.
if I want to enforce a sample even when the value does not change?
There's no guarantee for arbitrary type that operator+= doesn't change v... Matthias