
22 Sep
2005
22 Sep
'05
8:21 p.m.
On Thu, 22 Sep 2005 20:54:22 +0100, "Andy Little" <andy@servocomm.freeserve.co.uk> wrote:
How about :
guard.up(); guard.down();
... xyz.up(); ... xyz.down();
Out of context, and without a variable including (if not ending with) "guard," "up" and "down" don't fit well.
Is this not this variable always going to be called guard?(For example see ScopeGuardTest.cpp in the distro) I assume theres only ever one per scope
No, I routinely have more than one guard per scope. -- Be seeing you.