From: Stephen C. Gilardi (squeegee_at_[hidden])
Date: 2000-02-06 13:13:19
Perhaps names more inline with the intention of temporarily setting a
value and being assured that it will be restored at the end of the
block would be"
We are treating this like a temporary push to the top of a "stack" of
values for the given variable.
How does this sound for readability:
block_push_value push(mDisableUpdates, true);
block_push_value push2(mEnableLogging, true);
>More name suggestions:
> -- Darin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk