
7 Feb
2005
7 Feb
'05
3:35 p.m.
I could add a public "reset" member function to do the work of undoing the change, and simply have the destructor call that. This allows multiple-resets.
1. Would "reset" be a good name for this member function?
maybe restore?
2. Is it worth it to complicate the current simple-RAII interface for 99% of users for the sake of the 'wacky' 1% that actually need multi-restore?
It's up to you. I do not know how frequent;y we would need something like that. Gennadiy