Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider implementing an optional/maybe type #155

Open
gonzaponte opened this issue Oct 16, 2023 · 0 comments
Open

Consider implementing an optional/maybe type #155

gonzaponte opened this issue Oct 16, 2023 · 0 comments

Comments

@gonzaponte
Copy link
Collaborator

Presumably called n4::maybe or n4::option and similar to Rust's Option. Something like c++'s std::optional but without UB. It might also be worth looking into implementing a result type (n4::result).

Origin of discussion came from #151, where nullptrs can arise and must be handled.

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

No branches or pull requests

1 participant