
3 Sep
2012
3 Sep
'12
5:47 p.m.
On 12-09-03 7:37 AM, Sergey Radionov wrote:
don't understand, why this simple solution does not contributed already to Boost by someone else...:)
They did, and it was called Boost Scope Exit. I'd also like to have a boost::scope_exit class that took in a boost function in its constructor with the ability to dismiss whether or not that function is actually called :) Sohail