Abdelrazak Younes wrote:

>> (maybe it should be better to use Changers to avoid this kind of
>> problems?)
> 
> Changers?

A neat trick by Andre, look at MetricsInfo.h. You build an object that
restores the old value on destruction. I'm not sure it is worth it, just
because makes a simple thing slightly more obscure. Probably it is
sufficient to put modifications of the MetricsInfo the nearest possible to
the nested metrics call as I've done.

> It looks good. I am happy that you give me a hand on this, thanks!

:-)

A/


Reply via email to