Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #12869

Re: Why the iterator_traits is needed?

From 88888 Dihedral <dihedral88888@googlemail.com>
Newsgroups comp.lang.c++
Subject Re: Why the iterator_traits is needed?
Date 2011-12-29 16:42 -0800
Organization http://groups.google.com
Message-ID <28877841.460.1325205752939.JavaMail.geo-discussion-forums@prgi2> (permalink)
References <jdi623$8s6$1@speranza.aioe.org>

Show all headers | View raw


izhak於 2011年12月30日星期五UTC+8上午12時55分31秒寫道:
> Why do we need the iterator_traits if it's just a simple redefinition of 
> some of the Iterator concept's members?

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. 


 

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Why the iterator_traits is needed? izhak <iz.hak@mail.ru> - 2011-12-29 16:55 +0000
  Re: Why the iterator_traits is needed? "Bo Persson" <bop@gmb.dk> - 2011-12-29 17:58 +0100
    Re: Why the iterator_traits is needed? izhak <iz.hak@mail.ru> - 2011-12-29 17:10 +0000
  Re: Why the iterator_traits is needed? 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-29 16:42 -0800
    Re: Why the iterator_traits is needed? 88888 Dihedral <dihedral88888@googlemail.com> - 2012-01-07 23:19 -0800

csiph-web