lysdexicM to C++English · 1 year agoI Don't Use Exceptions in C++ Anymorethelig.htexternal-linkmessage-square13fedilinkarrow-up123arrow-down13cross-posted to: programming
arrow-up120arrow-down1external-linkI Don't Use Exceptions in C++ Anymorethelig.htlysdexicM to C++English · 1 year agomessage-square13fedilinkcross-posted to: programming
minus-squareQuadriLiterallinkfedilinkarrow-up2·1 year agoBOOST_OUTCOME_TRYX may be what you’re looking for. It’s only available on gcc and clang though.
minus-squareporgamrerlinkfedilinkarrow-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.