Hi,
pretty good overview.

But as implied in the comment of polymorphism the example doesn't 
demonstrate polymorphism. Maybe you should add some lines like:

cdef A *c = new B()

That would be polymorphism, or not?


In "Overloading Operators" there is a comment
"Please avoid declaring C++ objects this way. Use 'cdef Foo *f = new Foo()'"

But why should it be avoided, that doesn't make sense to me.

Christian


Danilo Freitas schrieb:
> As you know, Robert is planning to put the work about C++ Support in
> next release. So, we have some new stuff, and people need to learn it.
>
> I wrote a very simple tutorial on wiki [0], with some examples. I
> think it's easy to learn (and use) it.
>
> So, if you have any questions about it, just ask here.
>
> [0] http://wiki.cython.org/gsoc09/daniloaf/progress
>   

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

Reply via email to