Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/loliGothicK/mitama-cpp-result

A Library that provides `result<T, E>` and `maybe<T>` and monadic functions for them.
https://github.com/loliGothicK/mitama-cpp-result

Last synced: 7 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# mitama-cpp-result

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

**mitama-cpp-result** provides `result`, `maybe`, and associated monadic functions
(like [Result](https://doc.rust-lang.org/std/result/enum.Result.html)
and [Option](https://doc.rust-lang.org/std/option/enum.Option.html) in Programming Language Rust).

## Test Status
[![Full Test](https://github.com/LoliGothick/mitama-cpp-result/actions/workflows/full-test.yml/badge.svg)](https://github.com/LoliGothick/mitama-cpp-result/actions/workflows/full-test.yml)

## References

[the User Reference](https://loligothick.github.io/mitama-cpp-result/).

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

### Build the latest document (requires [poetry](https://python-poetry.org/))

```shell
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`)