News for hackers. Stuff that matters.
Re:I ruined my vacation by reverse engineering WSC by eru on Monday May 12, 2025 @04:47AM (#43960922)
C++ sort-of guarantees that your objects' destructors will be called when they go out of scope.

So you can abuse this mechanic to 'register' things to be executed at the end of the current scope, almost no matter how you exit the current scope.

There are no comments on this comment yet.