2 ms·
> and make sure to...call a destruction function Which removes half the value of RAII as I see it—needing when and to know how to unacquire the resource is hal
by throwaway27448 9mo ago
> and make sure to...call a destruction function
Which removes half the value of RAII as I see it—needing when and to know how to unacquire the resource is half the battle, a burden that using RAII removes.
Of course, calling code as the scope exits is still useful. It just seems silly to call it any form of RAII.