09.04.2018, 20:44, "Roland Hughes" <[email protected]>: > On 01/08/2018 06:26 AM, Mark Gaiser wrote: >> You might want to look into std::map[1] as well. It allows setting a compare >> function, QMap doesn't. Going that route is most likely more efficient as >> your inserts will be sorted, no need to do std::sort afterwards. > > Jumping into this one late, but, is there any particular reason QMap doesn't > allow overriding or supplying a comparison method? Has a feature request > already been filed.
Because there is std::map > > -- Roland Hughes, President Logikal Solutions (630)-205-1593 > http://www.theminimumyouneedtoknow.com http://www.infiniteexposure.net > http://www.johnsmith-book.com http://www.logikalblog.com > http://www.interestingauthors.com/blog http://lesedi.us/ > http://onedollarcontentstore.com > , > > _______________________________________________ > Interest mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest -- Regards, Konstantin _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
