lysdexic@programming.devM to C++@programming.dev • 11 months agoI Don't Use Exceptions in C++ Anymoreexternal-linkmessage-square8 fedilinkarrow-up113
arrow-up113external-linkI Don't Use Exceptions in C++ Anymorelysdexic@programming.devM to C++@programming.dev • 11 months agomessage-square8 Commentsfedilink
minus-squareQuadriLiteral@programming.devhexbear2·11 months agoBOOST_OUTCOME_TRYX may be what you're looking for. It's only available on gcc and clang though. linkfedilink
minus-squareporgamrer@programming.devhexbear3·11 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. linkfedilink
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.