lysdexic@programming.devM to C++@programming.devEnglish · 1 year agoI Don't Use Exceptions in C++ Anymorethelig.htexternal-linkmessage-square13fedilinkarrow-up121arrow-down13cross-posted to: programming@programming.dev
arrow-up118arrow-down1external-linkI Don't Use Exceptions in C++ Anymorethelig.htlysdexic@programming.devM to C++@programming.devEnglish · 1 year agomessage-square13fedilinkcross-posted to: programming@programming.dev
minus-squareQuadriLiteral@programming.devlinkfedilinkarrow-up2·1 year agoBOOST_OUTCOME_TRYX may be what you’re looking for. It’s only available on gcc and clang though.
minus-squareporgamrer@programming.devlinkfedilinkarrow-up3·1 year agoYeah, I came across that. I presume it just uses the GCC statement expressions extension under the hood. No can do though, it has to work with MSVC too.
BOOST_OUTCOME_TRYX
may be what you’re looking for. It’s only available on gcc and clang though.Yeah, I came across that. I presume it just uses the GCC statement expressions extension under the hood.
No can do though, it has to work with MSVC too.