Running a lambda on scope exit seems like such a basic thing, I would expect it to be standardized. Things like unique_ptr
are better, when they apply, but I find there is an endless supply of "one-off" destructors are needed, especially when leveraging C-style libraries. Does anyone know if this is coming?