[C++-sig] Re: New-style polymorphism

Daniel Wallin dalwan01 at student.umu.se
Tue Jul 27 02:22:02 CEST 2004


David Abrahams wrote:
> I hope to get this documented before the release, but in case I
> don't, the old method still works; I'd like people to get some
> experience with this new feature though, so I can see if it's working
> out as it should.

Here's a problem: Trying to call a base class member function statically
from python will call the virtual function, resulting in infinite
recursion.

-- 
Daniel Wallin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: failed.py
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20040727/3f14cae2/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: failed.cpp
Type: text/x-csrc
Size: 494 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20040727/3f14cae2/attachment.c>


More information about the Cplusplus-sig mailing list