$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Jason Hise (chaos_at_[hidden])
Date: 2005-01-09 12:12:06
Pavel Vozenilek wrote:
>struct undoer_t {
> int* value;
> undoer_t(int* val) value(val) {}
> ~undoer_t() { if (value) --*value; }
> void dismiss() { value = 0; }
>} undoer(&dependents);
>
>..... possibly throwing operation
>
>undoer.dismiss();
>
Ok, that makes sense. I'll implement that change. Thanks!