[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Can't declare template attribute with SIP
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2008-08-30 17:23:32
Message-ID: 712584538d35bd8ac7002dcebabedeb3 () localhost
[Download RAW message or body]
On Mon, 25 Aug 2008 11:58:12 +0200, "Arve Knudsen" <arve.knudsen@gmail.com>
wrote:
> I have a class template (a struct really) which exposes an attribute
> variable, but it doesn't appear SIP (version 4.7.8-snapshot-20080817)
> supports this. Example:
>
> template<T>
> class Value
> {
> public:
> T value;
> };
>
> SIP reacts by saying that "T is undefined". Probably an omission in
> SIP, since a corresponding getValue works? Also, specifying a concrete
> type for the attribute works.
Fixed in tonight's snapshot - again, not heavily tested.
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