|
Boost : |
Subject: Re: [boost] Proposed new RAII Library
From: Sohail Somani (sohail_at_[hidden])
Date: 2012-09-14 11:00:21
On 14/09/2012 10:56 AM, Sohail Somani wrote:
>
>
> BOOST_SCOPE_EXIT( (&handle) )
> {
> CloseHandle(handle);
> }
Added bonus: I even forgot the closing BOOST_SCOPE_EXIT_END.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk