Iterator question

Neal D. Becker nbecker at hns.com
Fri May 16 15:47:09 EDT 2003


I was wondering if python could imitiate the c++ stl copy function, using
python iterators.  It looks like the answer is no, because iterators only
support next(), and next returns an "rvalue", not an "lvalue", so there is
no way to assign through an iterator.  Is this correct?






More information about the Python-list mailing list