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

List:       pykde
Subject:    Re: [PyQt] Missing QMap<double, T> binding
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2019-06-03 8:20:58
Message-ID: 66de082844a69735a01e9e999b3ede9e () riverbankcomputing ! com
[Download RAW message or body]

On 03/06/2019 09:07, Giuseppe Corbelli wrote:
> On 5/31/19 4:24 PM, Phil Thompson wrote:
>> On 31/05/2019 14:32, Giuseppe Corbelli wrote:
>>> Hi all
>>> as far as I understand the whole system the templated QMap 
>>> %MappedType
>>> declaration in qpycore_qmap.sip does not work with double type as key
>>> (for all POD types?).
>>> 
>>> I am attaching a QMap<double, T> partial specialization that may be
>>> fit for inclusion sooner or later.
>> 
>> There is no intention to support all types - only those actually 
>> needed by PyQt.
> 
> Well, that would be an impossible task.
> To be crystal clear: you don't see in adding & sharing such template
> so I should use it as a part of my project, correct?

Yes. Even if an implementation was added to PyQt at a later date, your 
project would still use your version.

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