>>
>> While  " *iter=5 " and " vect.at(0)=5 " ares valid C++ code.
>
> ... bug not valid Cython code. If this is to be supported at all, it needs
> at least a different spelling.
>
> Stefan
>
I see what you mean. Although "valid cython code" should be a moving
target. "new vector[int]()" used to be invalid cython code too.
Furthermore, it might also affect the  operator[] (but I can't test
that due to bug#2). That would mean that "vect[3]=5" would also be
refused by cython in spite of being valid cython code.

I understand correct handling of c++ references will be difficult to
solve, though (or maybe it is solved and has not been documented
yet...). This "bug" may belong more to a wishlist than to a bug list.

cheers,
Toki
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to