Skip to content

A Library that provides `result<T, E>` and `maybe<T>` and monadic functions for them.

License

Notifications You must be signed in to change notification settings

loliGothicK/mitama-cpp-result

Repository files navigation

mitama-cpp-result

mitama-cpp-result is the C++20 libraries for error handling without exceptions.

mitama-cpp-result provides result<T, E>, maybe<T>, and associated monadic functions (like Result and Option in Programming Language Rust).

Test Status

Full Test

References

the User Reference.

If you need information on the nightly only API, please build the latest documentation in develop branch.

Build the latest document (requires poetry)

mitama-cpp-result> $ cd docs
mitama-cpp-result/docs> $ poetry install --no-root
mitama-cpp-result/docs> $ poetry run mkdocs serve

Dependencies

  • Boost: 1.80.0 or higher
  • fmt: 9.0.0 or higher

Supported OS / Compiler / Language Standard

  • OS

    • Linux
    • Apple Darwin
    • (Windows)
  • Compilers

    • gcc >= 11
    • clang >= 15
    • Latest preview version of MSVC only
  • Language Standards

    • C++20
    • (MSVC: only support /std:c++latest)

About

A Library that provides `result<T, E>` and `maybe<T>` and monadic functions for them.

Resources

License

Stars

Watchers

Forks

Packages

No packages published