Topic: Possible error in the definition of output iterators - minor


Author: chris@bubblescope.net (chris)
Date: Thu, 7 Oct 2004 18:10:56 GMT
Raw View
 > Given an output iterator a ...
> X u(a); X x(u); X y(x); X z(y);

Many apologises, when I wrote this I meant:
X u(a); ++u; X x(u); ++x; X y(x); ++y; X z(y); ++z;

Which appears to be legal to me, and I should be able to write to any of
u,x,y,z and in any order.

Chris

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]