Re: Missing QMap<double, T> binding

Phil Thompson <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
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    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.