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

List:       pykde
Subject:    Re: [PyQt] how can i wrapp template method by SIP
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2015-10-25 12:21:40
Message-ID: 25DABE6B-C723-4579-A0CB-8FBD3D541260 () riverbankcomputing ! com
[Download RAW message or body]

On 25 Oct 2015, at 12:09 p.m., hadi M <hm.qtprogrammer@gmail.com> wrote:
> 
> Hello to evryboy
> 
> I have class with one template method in it, my question is how can I wrap this \
> class method by sip?? 
> Class myclass{
> 
> Template <typename  T>  T* myMethod();
> 
> };

You can't.

If you can identify a useful subset of T then you can hand code wrappers for those \
(or pass the type as an argument to a single wrapper).

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