|
Boost : |
From: Matthias Schabel (boost_at_[hidden])
Date: 2007-02-17 01:31:57
> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk