Stefan Behnel wrote:
> Dag Sverre Seljebotn wrote:
>> Robert Bradshaw wrote:
>>> I am also for supporting only a subset of what  
>>> is possible--if one really needs crazy stuff like differently  
>>> implemented prefix/postfix decrements and -> vs (*). one can code in C 
>>> ++ or use clever macros. (Would we need to expose ++, a.k.a  
>>> "__next__" for STL iterators?)
>> Yes, you need ++/-- for std::list<T>::iterator, which doesn't accept any 
>> form of +=
> 
> Am I missing something here? Why isn't the for-loop syntax enough for C++
> iterators?

Who's saying that you always want to iterate through all elements from 
beginning to end in one go?

But yes, one could use the for-loop syntax for that specific case.

(However myself I'm in favor of even getting the most basic things 
working before adding support in higher-level constructs.)

-- 
Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to