I
izhak
Why do we need the iterator_traits if it's just a simple redefinition of
some of the Iterator concept's members?
some of the Iterator concept's members?
izhak said:Why do we need the iterator_traits if it's just a simple
redefinition of some of the Iterator concept's members?
There is also a specialization for pointer, which doesn't have the
concept members.
Pointers are also iterators!
Bo Persson
Why do we need the iterator_traits if it's just a simple redefinition of
some of the Iterator concept's members?
izhakæ–¼ 2011å¹´12月30日星期五UTC+8上åˆ12時55分31秒寫é“:
I think to understand an iterator is important.
There are implementations of iterators.
Iterators are different from recursions in implementations.
In the abstract level the two does not differ too much.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.