Skip to content

Using std::expected if compiled with C++23 #286

Description

@jowillianto

I am suggesting that this library be made up to date with newer standards. Hence
For people compiling with c++20, we can either :

  • use rfl::Result
    or
  • use std::expected by including the header
    And for people compiling on C++23 or higher :
  • use std::expected<..., rfl::Error> for all.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions