Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/loliGothicK/mitama-cpp-result
- Owner: loliGothicK
- License: mit
- Created: 2018-09-21T09:38:48.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-07-14T06:22:38.000Z (4 months ago)
- Last Synced: 2024-08-02T17:35:18.842Z (3 months ago)
- Language: C++
- Homepage:
- Size: 6.39 MB
- Stars: 48
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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`)