std::expected (with monadic interface) implementation in C++20 (P0323, P2505)

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • expected

    P0323 & P2505 std::expected simple implementation (by RishabhRD)

  • Link to repo: https://github.com/RishabhRD/expected

  • expected-lite

    expected lite - Expected objects in C++11 and later in a single-file header-only library

  • As someone who is new to this API (so I can't discern from the list of features which might be better for my use case), I second the question, and I'd like to extend the question to how it compares to https://github.com/martinmoene/expected-lite and https://github.com/bitwizeshift/result as well.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • result

    A lightweight C++11-compatible error-handling mechanism (by bitwizeshift)

  • As someone who is new to this API (so I can't discern from the list of features which might be better for my use case), I second the question, and I'd like to extend the question to how it compares to https://github.com/martinmoene/expected-lite and https://github.com/bitwizeshift/result as well.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts