Class Iterator()->CompatIterator

Inheritance graph
Iterator Iterator.CompatIterator
Description

Wrapper for iterators implementing the Pike 8.0 and earlier iterator API. Used transparantly by get_iterator() to provide an iterator suitable for foreach().

Note

This class provides only those functions that are required by the iterator API. It does not proxy any other functions.

See also

get_iterator()


Inherit Iterator

inherit Iterator : Iterator


Method create

Iterator.CompatIterator Iterator.CompatIterator(Iterator old_style_iterator)