Repository navigation
Release v1.2.0: Support for Identical Ok and Error Types
This release introduces an improvement to the Result class, enabling support for cases where the Ok and Err types are identical (e.g., Result<int, int>). This was achieved by refactoring the internal storage, which also resolved several related bugs.
Features
- Support for
T == E: TheResultclass now fully supports instantiations where the success and error types are the same.
Testing
- Added new Google Tests to specifically validate and cover the
T == Euse case.