Skip to content

Conversation

@SizzinSeal
Copy link
Member

Overview

Rewrite the Result class to a simplified errno replacement

Motivation

The existing approach is complex and hard to maintain

Implementation Details (optional)

The Result class contains an error value wrapped using std::optional, and a normal value. Instances can convert implicitly to the normal value type. The error type must be a scoped enum.

Test Plan:

@SizzinSeal SizzinSeal changed the title create basic Result class with conversion operators Simplified Result Aug 26, 2025
@SizzinSeal
Copy link
Member Author

LGTM, let's get this merged so we can finally put it behind us

@SizzinSeal SizzinSeal merged commit 81ad4e9 into main Aug 26, 2025
2 checks passed
@SizzinSeal SizzinSeal deleted the refactor/simple-result branch August 26, 2025 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants