On Monday, 19 August 2013 at 21:19:05 UTC, H. S. Teoh wrote:

scope guards. If I were granted a wish for how to lessen the pain of
coding in C, one of the first things I'd ask for is scope.

A little OT at this point, but C Survival Kit might have you sufficiently covered:
https://github.com/chadjoan/C-Survival-Kit/blob/master/survival_kit/feature_emulation/scope.h
(Been considering pulling this in at work, too.)

-Wyatt

Reply via email to