this post was submitted on 11 Nov 2023
19 points (88.0% liked)
C++
1773 readers
4 users here now
The center for all discussion and news regarding C++.
Rules
- Respect instance rules.
- Don't be a jerk.
- Please keep all posts related to C++.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.