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

const access strategy for a Node's children #8

Closed
cyrush opened this issue Jul 18, 2016 · 0 comments · Fixed by #54
Closed

const access strategy for a Node's children #8

cyrush opened this issue Jul 18, 2016 · 0 comments · Fixed by #54
Labels
Milestone

Comments

@cyrush
Copy link
Member

cyrush commented Jul 18, 2016

conduit::Node provides const access to data, but does not provide const to traverse existing children.

Given the semantics of fetch and the []operator -- the best solution seems like a const variants of

Node* Node::fetch_ptr() and Node* Node::child_ptr()

We should also provide a const iterator.

@cyrush cyrush added the feature label Jul 18, 2016
@cyrush cyrush added this to the 0.2.0 milestone Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant