lysdexic@programming.devM to C++@programming.devEnglish · 1 year agoI Don't Use Exceptions in C++ Anymorethelig.htexternal-linkmessage-square9fedilinkarrow-up13arrow-down10cross-posted to: programming@programming.dev
arrow-up13arrow-down1external-linkI Don't Use Exceptions in C++ Anymorethelig.htlysdexic@programming.devM to C++@programming.devEnglish · 1 year agomessage-square9fedilinkcross-posted to: programming@programming.dev
minus-squareQuadriLiteral@programming.devlinkfedilinkarrow-up0·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-up1·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.