Remix.run Logo
Gupie 2 days ago

Sure, but my point was that RAII doesn't need to involve the heap. Another example would be acquiring abd releasing a mutex.