>
> As for the return type of your at() function, have you tried declaring it
> as returning "int*" instead? What does Cython do in this case?
>   
C++ references doesn't work that way, I don't think that would work. C++ 
code would look like this:

vector<int> v(10);
v.at(3) = 4;

If you declare the return type to be int* you simply have a problem...

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

Reply via email to