Can 'iterator' type just subclass 'const_iterator'?

前端 未结 3 1084
谎友^
谎友^ 2021-01-01 19:54

After another question about iterators I\'m having some doubts about custom containers. In my container, iterator is a subclass of const_iterator,

3条回答
提交回复
热议问题