2 ms·
That article does not convince me, scope guard + lambda appears to work just as well as finally, and is actually shorter(see tianyuzhu's comment) I do not know
by sandeatr 10y ago
That article does not convince me, scope guard + lambda appears to work just as well as finally, and is actually shorter(see tianyuzhu's comment)
I do not know if anyone has proposed it for C++, but I would be surprised if it passed given that it doesn't accomplish much.