Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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




Yes we've been using this. Unfortunately it is not standard and iiuc msvc has no equivalent?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: