Why is the function that creates the basic iterators called "Iterator" like a class? Now it gets tricky to add an interface class for iterators, since the obvious name for it already is taken. :(
Good question. But note that the function currently isn't exported to the predef-scope, and is thus only available as __builtin.Iterator().
/ Henrik Grubbström (Lysator)
Previous text:
2003-04-18 13:37: Subject: predef::Iterator
Why is the function that creates the basic iterators called "Iterator" like a class? Now it gets tricky to add an interface class for iterators, since the obvious name for it already is taken. :(
/ Martin Stjernholm, Roxen IS
Ah, good. Then it shouldn't be a problem to change it to get_iterator. I thought it already was in the predef namespace since there are references to predef::Iterator in an autodoc comment.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-04-18 13:46: Subject: predef::Iterator
Good question. But note that the function currently isn't exported to the predef-scope, and is thus only available as __builtin.Iterator().
/ Henrik Grubbström (Lysator)
Well, it's documented as predef::Iterator, but the documentation lies...
/ Henrik Grubbström (Lysator)
Previous text:
2003-04-18 13:50: Subject: predef::Iterator
Ah, good. Then it shouldn't be a problem to change it to get_iterator. I thought it already was in the predef namespace since there are references to predef::Iterator in an autodoc comment.
/ Martin Stjernholm, Roxen IS
pike-devel@lists.lysator.liu.se