News for hackers. Stuff that matters.
Re:Why should I have written ZeroMQ in C, not C++ (2012) by lostdog on Saturday August 13, 2022 @04:13AM (#32447884)
If compound statements every get standardized then you could write a TRY macro that worked pretty similarly.

https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html

Re:Why should I have written ZeroMQ in C, not C++ (2012) by bear24rw on Saturday August 13, 2022 @04:48PM (#32453651)
Re:Why should I have written ZeroMQ in C, not C++ (2012) by dureuill on Saturday August 13, 2022 @04:45AM (#32448024)
Yes we've been using this. Unfortunately it is not standard and iiuc msvc has no equivalent?