|
|
|
|
|
by LexiMax
123 days ago
|
|
A long overdue feature. Though I do wonder what the chances are that the C subset of C++ will ever add this feature. I use my own homespun "scope exit" which runs a lambda in a destructor quite a bit, but every time I use it I wish I could just "defer" instead. |
|
Then again, if someone is willing to push it through WG21 no matter what, maybe.