Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cjfd
· 3y ago · 0 comments
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....
Comments
[–]
_dhruva
3y ago
We implemented a full blown profiler for win32 platform using RAII to track profiling data back in ~2000
https://bitbucket.org/dhruva/cramp