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 using std::optional in for invalid memory access #95

Open
jabraham17 opened this issue Mar 15, 2023 · 0 comments
Open

Consider using std::optional in for invalid memory access #95

jabraham17 opened this issue Mar 15, 2023 · 0 comments
Labels
enhancement New feature or request feature: core refactor refactoring task

Comments

@jabraham17
Copy link
Owner

Currently, memory accesses with invalid access use three different strategies, return nullptr, throw an exception, or panic. std::optional may be an option for the ones returning values.

Related to #9

@jabraham17 jabraham17 added enhancement New feature or request refactor refactoring task feature: core labels Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature: core refactor refactoring task
Projects
None yet
Development

No branches or pull requests

1 participant