[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Represent inline struct?
From:       Shaheed Haque <srhaque () theiet ! org>
Date:       2017-08-27 14:10:13
Message-ID: CAHAc2jddFboswvx+giTL8xMyx-kNvXFKNKFyHgZQYSKt14LLiQ () mail ! gmail ! com
[Download RAW message or body]

On 27 August 2017 at 11:28, Phil Thompson <phil@riverbankcomputing.com> wrote:
> On 27 Aug 2017, at 9:49 am, Shaheed Haque <srhaque@theiet.org> wrote:
>>
>> Hi,
>>
>> Is there a straightforward way to represent the following inline
>> struct-variable N::Foo::bar in SIP:
>>
>> ========
>> namespace N
>> {
>> class Foo
>> {
>> public:
>>    struct {
>>        int a;
>>        int b;
>>    } bar;
>> };
>> };
>> ========
>>
>> A non-straightforward way might involve defining intermediate typedefs
>> and the like, but if there a  known recipe for that which does not
>> involve modifying the original C++, I'd be interested in that too
>> (AFAICS, there is the usual problem of trying to inject stuff into the
>> C++ namespace...).
>
> Sorry, no.

Thanks for confirming.

> Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://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