Boost logo

Boost :

From: Marc-Antoine Ruel (maruel_at_[hidden])
Date: 2003-12-17 15:20:11

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).

I didn't know that a reference could keep a return value alive. We learn every days!


-----Original Message-----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]]On Behalf Of Thorsten Ottosen
Sent: 17 décembre, 2003 12:52
To: boost_at_[hidden]
Subject: [boost] Re: OnReturn

Have you ever read



Boost list run by bdawes at, gregod at, cpdaniel at, john at