mitama-cpp-result
mitama-cpp-result copied to clipboard
A Library that provides `result<T, E>` and `maybe<T>` and monadic functions for them.
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
References
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)