
14 Sep
2012
14 Sep
'12
5:41 p.m.
On Friday 14 September 2012 11:59:15 Sohail Somani wrote:
On 14/09/2012 11:12 AM, Andrey Semashev wrote:
typedef raii< HANDLE, &CloseHandle > auto_handle;
class my_class {
auto_handle m_h;
};
This doesn't look like a part of Boost.ScopeExit anymore.
I could make a car into an airplane and it's not a car anymore.
This is quite clever but limited.
How so? I'd say the opposite.