lysdexic@programming.devM to C++@programming.devEnglish · 2 years agoI Don't Use Exceptions in C++ Anymorethelig.htexternal-linkmessage-square13fedilinkarrow-up117arrow-down13cross-posted to: [email protected]
arrow-up114arrow-down1external-linkI Don't Use Exceptions in C++ Anymorethelig.htlysdexic@programming.devM to C++@programming.devEnglish · 2 years agomessage-square13fedilinkcross-posted to: [email protected]
minus-squareQuadriLiteral@programming.devlinkfedilinkarrow-up2·2 years agoBOOST_OUTCOME_TRYX may be what you’re looking for. It’s only available on gcc and clang though.
minus-squareporgamrer@programming.devlinkfedilinkarrow-up3·2 years 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.