[Interest] Operator QMap<uint, uint>[] is casting to int?
Murphy, Sean
smurphy at walbro.com
Fri May 3 17:30:31 CEST 2019
> Unless Qt supports negative indexes (like python's [-1]) I would have thought
> this would be an int. Thanks for catching that everyone.
I'm assuming you made a typo there and meant to say "uint"? Regardless here's
the official reason why Qt uses "int" for container indices:
https://lists.qt-project.org/pipermail/interest/2013-September/008592.html
Sean
This message has been scanned for malware by Forcepoint. www.forcepoint.com
More information about the Interest
mailing list