Boost logo

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...


Boost list run by bdawes at, gregod at, cpdaniel at, john at