3 ms·
> RAII is mostly already there >> Releasing resources silently (other than the memory of automatic variables) is very un-C-like The "R" is literally "resource
by dataflow 5y ago
> RAII is mostly already there
>> Releasing resources silently (other than the memory of automatic variables) is very un-C-like
The "R" is literally "resource", right? Sounds like instead of RAII you just meant unique_ptr.
Though I beg to differ on whether releasing memory automatically is any different from releasing other resources as far as being C-like is concerned!