News for hackers. Stuff that matters.
Re:Modern C for C++ Peeps by cjfd on Saturday January 07, 2023 @12:58PM (#34290669)
One can do lots of things with RAII. I once wrote some classes to generate xml. I used constructors to write opening tags and destructors to write the corresponding closing tags....
Re:Modern C for C++ Peeps by _dhruva on Sunday January 08, 2023 @09:44AM (#34299481)
We implemented a full blown profiler for win32 platform using RAII to track profiling data back in ~2000

https://bitbucket.org/dhruva/cramp