
22 Sep
2005
22 Sep
'05
8:03 p.m.
"Rob Stewart" <stewart@sig.com> wrote in message news:200509221937.j8MJbHGp014463@shannonhoon.balstatdev.susq.com...
A variation on "guard" (the verb) is "protect," which has the right meaning and avoids overloading the word "guard" to excess:
scope_guard g; if (a) g.dismiss();
if (a) g.ignore(); To me dismiss has much more heavy handed connotations.
... if (b) g.protect();
"Secure" is another choice.
Either of these pair well. Just a thought, has g.on() and g.off() been considered? Jeff