Method CompatIterator()->create()
classCompatIterator
- Method
create
CompatIterator CompatIterator(Iteratorold_style_iterator)- Description
Wrap
old_style_iterator, which must implement the Pike 8.0 and earlier iterator API (ie lfun::`!(), and either lfun::_iterator_next() or lfun::`+=(), together with lfun::_iterator_index() and lfun::_iterator_value()).- Throws
Throws an error if
old_style_iteratordoesn't implement the required API.