KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
After another question about iterators I'm having some doubts about custom containers. In my container, iterator is a subclass of const_iterator , so that I get conversion from non-const to const "for free". But is this allowed or are there any drawbacks or non-working scenarios for such a setup?
Tags (comma-separated)
Save Edits
Cancel