News for hackers. Stuff that matters.
Re:Proposal to add constexpr to C [pdf] by dataflow on Saturday October 16, 2021 @05:57PM (#28891955)
> 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!

There are no comments on this comment yet.