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

Cannot modify values using iterator #11

Closed
rdspring1 opened this issue Jul 23, 2013 · 1 comment
Closed

Cannot modify values using iterator #11

rdspring1 opened this issue Jul 23, 2013 · 1 comment

Comments

@rdspring1
Copy link
Owner

No description provided.

@rdspring1
Copy link
Owner Author

const keyword around MyDeque pointer causes the operator[] to return a const reference;
const reference is incompatible; the code's workaround was to return by value.

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