Hi,
On Fri, 9 Mar 2001, John Levon wrote:
JL| Why are people using :
JL| 
JL|     (*iterator).whatever
JL| 
JL| rather than :
JL| 
JL|     iterator->whatever

the operator-> requires to return a pointer .. which is sometimes not
possible to implement in an iterator, specifically, if the iterator
works on top of something which is computed, not real elements in a
container. And some old compilers didn't support it AFAIK.
For usual containers, however, one should use the operator->

ciao,
 -hen



Reply via email to