From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2003-12-17 15:39:57
Marc-Antoine Ruel wrote:
> I did search the archives with keywords resource and RIIA but not scope guard.. :)
> Finally I use an slightly modified version of Daniel Wallin's one, which is far better. The only draw back is that I now get a warning about an unused initialized variable which I don't know how to get rid of (without desactivating the warning).
Quick note: I should not get credited for anything that has to do with
scopeguards. The code I posted in that thread is pretty much the code
from Andrei and Petru's article, with different naming and without the
generator functions for different arities.
-- Daniel Wallin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk