lysdexic@programming.devM to C++@programming.devEnglish · 10 months agoI Don't Use Exceptions in C++ Anymorethelig.htexternal-linkmessage-square10fedilinkarrow-up120arrow-down12cross-posted to: programming@programming.dev
arrow-up118arrow-down1external-linkI Don't Use Exceptions in C++ Anymorethelig.htlysdexic@programming.devM to C++@programming.devEnglish · 10 months agomessage-square10fedilinkcross-posted to: programming@programming.dev
minus-squareQuadriLiteral@programming.devlinkfedilinkarrow-up2·10 months agoBOOST_OUTCOME_TRYX may be what you’re looking for. It’s only available on gcc and clang though.
minus-squareporgamrer@programming.devlinkfedilinkarrow-up3·10 months 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.