$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-09-22 15:01:33
Rob Stewart wrote:
> scope_guard g(my_undo_function);
> ...
> g.dismiss(); // or whatever name is selected
> ...
> g.protect(); // or whatever name is selected
> ...
Can someone please provide a motivating example for .protect? scope_guard vs
scoped_guard aside for a moment. :-)