[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] sip doesn't recognize structs with parent structs/classes
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2008-07-30 7:07:04
Message-ID: d4e02e08d93aa0702f4c0ee54ab56c13 () localhost
[Download RAW message or body]
On Tue, 29 Jul 2008 16:05:16 -0700, "Erick Tryzelaar"
<idadesub@users.sourceforge.net> wrote:
> On Tue, Jul 22, 2008 at 3:39 PM, Phil Thompson
> <phil@riverbankcomputing.com> wrote:
>> The "virtual"s aren't valid, but the super-classes should be. Fixed in
>> tonight's snapshot.
>
> Thanks again for the change, Phil. I think you might be mistaken on
> this point though. Looking at the c++ standard that I found:
>
> http://www.kuzbass.ru/docs/isocpp/
>
> In section 9-4, it says that structs are just classes that default to
> public. Furthermore, in section 10.3-2, they give an example of
> structs with virtual methods. It's fine with me if you don't to add
> support to sip for this. I can work around it by just using "class" in
> my sip file and "struct"s in my headers, it's just a tiny bit more
> verbose.
It's the virtual constructors that are invalid, not virtual methods.
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic