• @[email protected]
    link
    fedilink
    28 months ago

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

    • @[email protected]
      link
      fedilink
      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.