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

Use optional #12

Open
julianharbarth opened this issue Nov 8, 2022 · 0 comments
Open

Use optional #12

julianharbarth opened this issue Nov 8, 2022 · 0 comments

Comments

@julianharbarth
Copy link
Member

Use optionals where appropiate.

For the element neighbours, as the don't have to exist.

soro::array<node_ptr, 2> nodes_{nullptr, nullptr};

For the next_node_ and branch_node_ members as they dont have to exist.

ptr next_node_{nullptr};

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