No subject
Tue Oct 14 00:29:20 CEST 2008
when Python executes the above code, it creates an internal index and
successively calls sequence_item(int), incrementing the index as it
goes. It would be like an iterator implemented in terms of an index
and an accessor function. This is different from COM's approach:
internal use of an iterator object supporting Next()-like functions.
Is it possible to expose the iteration capability without implementing
sequence_item(int)? Your quote above suggests that it's possible, but
I can't see how.
--
Steven E. Harris
Primus Knowledge Solutions, Inc.
http://www.primus.com
More information about the Cplusplus-sig
mailing list