• @QuadriLiteral
    link
    28 months ago

    BOOST_OUTCOME_TRYX may be what you’re looking for. It’s only available on gcc and clang though.

    • @porgamrer
      link
      38 months ago

      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.