https://github.com/htrefil/result-option
Simple Result and Option types for C++11.
https://github.com/htrefil/result-option
Last synced: 6 days ago
JSON representation
Simple Result and Option types for C++11.
- Host: GitHub
- URL: https://github.com/htrefil/result-option
- Owner: htrefil
- Created: 2019-08-09T16:37:03.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-12T19:05:06.000Z (almost 7 years ago)
- Last Synced: 2026-05-31T00:05:28.812Z (27 days ago)
- Language: C++
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# result-option
A simple type-safe Result and Option types for C++11.
Result currently allows only for strings for errors.
## Configuration
By default, the types type will use assertions to check that values have been used (moved out) only once.
To disable this feature `#define RESULT_OPTION_MULTIPLE_MOVE`.
## Licence
Public domain.