Jackson Hoy Loper wrote:

>    3) I see that Greg Ewing proposed declaring functions like
> myhash.begin() "as though" they returned pointers, but I cannot
> understand what this means.

I can't remember what context I made that statement in,
so I'm not sure what it means either. I may have been
talking about dealing with references by treating them
as pointers -- but in code that's compiled as *C* code,
not C++.

As for things like C++ iterators, you can use them as
long as you're willing to heap-allocate them and explicitly
free them afterwards, via the trick of declaring a function
whose cname is "new Foo" or whatever.

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

Reply via email to